无法定义标签长度 - ZPL (RW 220) [英] Can't define label length - ZPL (RW 220)

查看:37
本文介绍了无法定义标签长度 - ZPL (RW 220)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

同学们,

我想要做的应该很简单:打印 ZPL II Programming Guide 中的示例标签.但无论我写什么,标签总是以 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 Setup Utilities 中的控制台,并且我已经将语言更改为 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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆