Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

26 posts


# 129465 17-Sep-2013 08:45
Send private message

I'm trying to rig up a very cheap point of sale system for a friend, using a Brother QL-550 label printer to print the label for each stock item.  The label will contain a description of the item, a retail price, and a barcode defining the item in a sqlserver database.  I'm trying to use C# to do this, but I'm having no joy whatsoever.  

Has anyone had any experience in using this label printer via C# (Or, and can anyone give me any pointers on how to do it.

I've tried using the Brother SDK that came with it, but frankly that was worse than useless.  I can write to the printer, but not the information I want, in the format I need.

Any help would be gratefully accepted!

Create new topic
3119 posts

Uber Geek
+1 received by user: 336


  # 896788 17-Sep-2013 10:32
Send private message

I have no idea about coding etc but from the applications I've seen most of them say to use the Dymo label printers as they use XML format for the labels which is easy to create.

26 posts


  # 896817 17-Sep-2013 11:12
Send private message

Unfortunately, my mate has already got a QL-550, and he wants to use that.


3433 posts

Uber Geek
+1 received by user: 704


  # 896823 17-Sep-2013 11:20
Send private message

can you print a bitmap to it? if so you could render it yourself in the format you want then just get the printer to print that.

26 posts


  # 896829 17-Sep-2013 11:30
Send private message

I've just cracked it. The secret is in graphics, but not a bitmap, a Graphics object.

As always, the answer is usually in a few lines of code:

string sText = string.Empty;
//int iX = 10;
//int iY = 5;

for (int i = 0; i < 5; i++)
Font drawFont = new Font("Arial", 10);
switch (i)
case 1:
sText = "Recycled Junk Company";
e.Graphics.DrawString(sText, drawFont, Brushes.Black, 10, 5);
case 2:
sText = "Article Name";
e.Graphics.DrawString(sText, drawFont, Brushes.Black, 10, 25);
case 3:
sText = "Cost $100.00";
e.Graphics.DrawString(sText, drawFont, Brushes.Black, 10, 45);
case 4:
drawFont = new Font("Free 3 of 9 Extended", 18);
sText = "20130917001";
e.Graphics.DrawString(sText, drawFont, Brushes.Black, 10, 75);

I knew it would be something like that, I've read explanations on Google that run into hundreds of lines of code, and the developers manual from Brother need a PhD in ancient Abyssinian to use.

Any body wants to know how to address a label printer from C# - talk to me.

Create new topic

Twitter and LinkedIn »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Huawei's scholarship programme showcases international business to Kiwi undergrads
Posted 22-Jul-2019 17:53

Spark Sport launches across a range of new devices
Posted 22-Jul-2019 13:19

Dunedin selects Telensa to deliver smart street lighting for 15,000 LEDs
Posted 18-Jul-2019 10:21

Sprint announces a connected wallet card with built-in IoT support
Posted 18-Jul-2019 08:36

Educational tool developed at Otago makes international launch
Posted 17-Jul-2019 21:57

Symantec introduces cloud access security solution
Posted 17-Jul-2019 21:48

New Zealand government unveils new digital service to make business easier
Posted 16-Jul-2019 17:35

Scientists unveil image of quantum entanglement
Posted 13-Jul-2019 06:00

Hackers to be challenged at University of Waikato
Posted 12-Jul-2019 21:34

OPPO Reno Z now available in New Zealand
Posted 12-Jul-2019 21:28

Sony introduces WF-1000XM3 wireless headphones with noise cancellation
Posted 8-Jul-2019 16:56

Xero announces new smarter tools, push into the North American market
Posted 19-Jun-2019 17:20

New report by Unisys shows New Zealanders want action by social platform companies and police to monitor social media sites
Posted 19-Jun-2019 17:09

ASB adds Google Pay option to contactless payments
Posted 19-Jun-2019 17:05

New Zealand PC Market declines on the back of high channel inventory, IDC reports
Posted 18-Jun-2019 17:35

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.