I'm just getting started with direct printing via ZPL and am currently connecting to the printer via a TCP socket, using PHP.
Whenever I print a label, whether via the script I've written, or using the Windows based Zebra Configuration client, the printer advances ~8 labels, then prints.
The ZPL I'm using to print the label is below:
^XA
^FO50,50
^ADN,36,20
^FDFront Shelf-2^FS
^XZ
Since I've had the same results from the configuration app, and via TCP socket, I'm a little stumped.
I have configured the printer (a QLn220) with the correct label size (50mm x 40mm).
I would like some suggestions on how to find out what is causing these extra labels to feed when I print.