fellows,
what I'm trying to do should be simple: to print an example label from ZPL II Programming Guide. But no matter what I write, the label is always printed with 40mm length.
This is the code:
^XA
^LH0,30
^FO20,10^AD^FDVERSUL^FS
^XZ
I tried changing the label's settings in the printer's properties, tried to add the ^LL command, set units to dots. I'm using the console from Zebra Setup Utilities, and I've already changed the language to ZPL. Nothing changed.
Do you know what I'm doing wrong or if is there any other place I should change the label's settings?
BTW: the printer is working fine in CPCL mode, it looks like it's something regarding ZPL's configuration.
Thanks in advance.
Under Printers, right-click your Zebra ZD410 and select Printer preferences. Its default name should be ZDesigner ZD410-203dpi ZPL. In the Page Setup submenu, enter your label size. Note: You can change the units from millimeters to inches from the Units submenu.
Select your label printer and click 'manage'. Click on 'Printer properties'. Click on 'Preferences'. In the preferences menu, go to 'paper size' and make sure the selected size matches the label dimensions.
Right-click on the Zebra Designer printer and select "Printing Preferences". Select the "Advanced Setup" tab, then click on the "Calibrate" button in the lower-right corner (see image below). The printer will feed two labels and calibrate to the labels you are using.
Do you have gap or black mark label media loaded in the printer? Or continuous receipt paper?
If the printer is in non-continuous mode with receipt paper, it will look for a label gap (or black mark) so that it can feed up to the next label. If the printer is loaded with continuous receipt paper, it will not find it and feed up to some maximum. Look at the ^MN
command and try to set it to continuous, while also using the ^LL
command in your ZPL format. You can send ^XA^MNN^LL400^XZ^XA^JUS^XZ
to set and save the printer in continuous mode, 400 dots length just to see if it works.
I had a similar problem but a different cause (GK420T) - for some reason I had turned of backfeed using ~JSO
, and the rest position (~TA
) placed the next label already halfway under the print head.
Without backfeed, the printer started from this position so it looked like the bottom of the label was cropped and length and page size was ignored.
Changing the backfeed sequence to ~JSN
(default - 90%) causes the printer to roll the label back before printing starts so the whole label is accessible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With