问题描述
研究员
我要做的事情应该很简单:从《 ZPL II编程指南》中打印示例标签.但是不管我写什么,标签总是打印40mm的长度.
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.
这是代码:
^XA
^LH0,30
^FO20,10^AD^FDVERSUL^FS
^XZ
我尝试更改打印机属性中的标签设置,尝试添加^ LL命令,将单位设置为点.我正在使用Zebra设置实用程序中的控制台,并且已经将语言更改为ZPL.没有改变.
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?
顺便说一句:打印机在CPCL模式下可以正常工作,似乎与ZPL的配置有关.
BTW: the printer is working fine in CPCL mode, it looks like it's something regarding ZPL's configuration.
谢谢.
推荐答案
打印机中是否装有空白或黑色标记的标签纸?还是连续的收据纸?
Do you have gap or black mark label media loaded in the printer? Or continuous receipt paper?
如果打印机在不连续模式下使用收据纸,它将寻找标签间隙(或黑色标记),以便可以送入下一个标签.如果打印机装有连续的收据纸,它将找不到并送入最大数量的纸张.查看^MN
命令并尝试将其设置为连续的,同时还以ZPL格式使用^LL
命令.您可以发送^XA^MNN^LL400^XZ^XA^JUS^XZ
来设置和保存连续模式(长度为400点)的打印机,以查看其是否工作.
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.
这篇关于无法定义标签长度-ZPL(RW 220)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!