Reputation: 21
I am beginner in programming in C#.
I need to create an application to generate/print a label from Cognitive label printer. From last few days, I had gone through number of document to learn how to print document, how usb printer works and so on. I am confused how to print data in proper format on label. But I didn't find any valuable material that explain me how to program for label printer.
Can anyone suggest me some material or sample program how to work with label printer.
Upvotes: 2
Views: 8127
Reputation: 10092
Label printers come in two basic varieties: Ones that act like a normal printer with a small paper size and ones that take their own instruction codes via text.
If it's the latter, then (assuming you know the language) use the Generic/Text-Only driver.
There is some documentation on Cognitive's site - the Programming Guides describe the language for the printers.
Upvotes: 1
Reputation: 16757
I found this software SDK that might be of use:
http://www.tec-it.com/en/software/label-printing/label-software/labeling-sdk/Default.aspx
It isn't free, but it basically creates a system by which you can print pre-formatted labels to your printer using C# (or a number of other languages). You can pass data into the label and then print it all from your code. The software costs may be a small price to pay if it gives you the functionality you are looking for. However, I would say that for a small application you might want to kludge something together rather than incur the expense. It all depends on your situation.
Upvotes: 0