Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top