开发者

Printing to Zebra printer that is default Windows printer

I have defined a Zebra printe开发者_C百科r 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}$


This approach worked for me with a TLP2844: How to send raw data to a printer by using Visual C# .NET.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜