我创建了我的ZPL字符串,并在最后附加了^PQ+ numCopies.调试器^PQ3在最后显示整个字符串是否正确.但打印机只打印1份.
打印机是110Xi4,板载配置显示它处于ZPL II模式.
谢谢
正如 Ovi 指出的那样,ZPL 命令需要以特定顺序出现在文档源中才能使它们有效(或完全打印文档)。
ZPL 文档将如下所示(省略从 # 到该行末尾的所有内容):
^XA # start of document. Not optional
#optional one-off config stuff, for example:
^MNM # setting the media sensor for black bar
^PW200 # setting print width
# now include your actual label/document content
^FDText that is going to be printed^FS
^XZ # end of document. Not optional.
Run Code Online (Sandbox Code Playgroud)
如果包含^PQ3after ^XZ,则打印机不知道如何处理该命令。它可能只是被丢弃了。
当我有时间时,我会链接到其他示例和文档。