Night Walker
Night Walker

Reputation: 21280

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.

Upvotes: 3

Views: 6577

Answers (3)

PhilMY
PhilMY

Reputation: 2651

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

Upvotes: 1

Ovi Tisler
Ovi Tisler

Reputation: 6473

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}$

Upvotes: 2

HakonB
HakonB

Reputation: 7075

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

Upvotes: 4

Related Questions