How to print label rolls from C# application?
I am trying to develop an application where in my C# application should print product labels when I make a product purchase entry (similar scenario as of a grocery mall).
I would like to make user pre-enter the details of all purchased produc开发者_开发知识库ts. Data available with me would be Product code and Name; and these should be printed as barcode and text, all in one shot (1000 labels at a time).
I want to use a Barcode Printer (SATO CG408) to print continuous label rolls.
So how can I achieve printing task. Previously I used A4 label-sheets to print barcodes and crytal reports to print barcodes, by setting custom label sizes and paper sizes in crystal reports.
But can I use crystal reports for printing continuous labels on barcode printer ? If yes, how ?
Or any other option to communicate with printer and print the barcodes.
Thanks in advance :)
Most of the POS-printers has simple (for implementation too) communication protocol where you can find command to print text, barcode and so on.
Using generated barcodes is a bad idea because the POS-printers prints images slowly.
You may found protocol for your device here
The barcode printer should have a Windows Printer Driver which handles the label size. Crystal Reports, or anything else, should then be able to use it like a normal printer by picking the custom label size.
精彩评论