Reputation: 21280
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
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
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