简体   繁体   中英

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.

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...

If you go to the "Advanced Setup" tab of the Zebra printer driver, you can "Enable Passthrough Mode". Then, just ensure that your stream starts with ${ and ends with }$ Then the driver will not do anything to the stuff inbetween the ${ }$

should look like this:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM