Search code examples
c#.netprintingzebra-printerszpl

Printing to Zebra printer that is default Windows printer


I have defined a Zebra printer as a default printer on my Windows 7 machine. I have my ZPL code that I want to print:

"^XA^LH30,30^FO20,10^AFN,56,30^FDqwewer^FS^FO20,80,^B3N,Y,20,N,N^FD213004^FS^XZ"

Can you refer me to some example how I can send this thing to some default printer? And of course I want to print also the barcode. Thanks.


Solution

  • I haven't looked at it for a long time but I kept a link to this article. I imagine that it could help you in the right direction.

    I decided to use ThermalLabel SDK for .NET from NeoDynamic instead of handling everything myself...