zpl-ii

How to print barcode with running number ZPL-II?

I have a simple program print barcodes. The label format is in a preloaded form. The value the barcode is passed by a parameter as follow. ^XA ^XFR:FORM.ZPL ^FN999^FDH654321+Y0001+OABC+^FS ^PQ2,0,1,N And it print two barcodes H654321+Y0001+OABC+ H654321+Y0001+OABC+ What I want is the middle part as a serial number, and it will prin...

Reading status from Zebra Printer

Hi, I'm working on a project where we need to use a Zebra Printer for barcode labels. We're using C#, and we're doing OK on the printing side of things, sending raw ZPL strings to the printer (using winspool.drv). However, we also need to read from the printer, and no luck there. We need to get the status from the printer, which is t...

.NET code to talk ZPL to Zebra Printers

Is there a way to send ZPL (Zebra Programming Language) to a printer in .NET? I have the code to do this in Delphi, but it is not pretty and I would rather not try to recreate it in .NET as it is. Answer from the post in the accepted answer: [DllImport("kernel32.dll", SetLastError = true)] static extern SafeFileHandle Create...

ZPL II Extended Characters

I'm trying to print extended code page 850 characters using ZPL II to a Zebra S4M. Whenever one of the extended characters I.E. ASCII value > 127 is used I get a box of varying shades of grey instead of the actual value. I'm trying to print ± and ° (ALT+0177 and ALT+0176). I suspect its the RawPrinterHelper I am trying to use (as down...