【问题标题】:ZPL- Design LabelZPL-设计标签
【发布时间】:2020-08-19 11:03:04
【问题描述】:

我是 ZPL 编程的新手。谁能告诉我 ZPL 程序出了什么问题。

我要设计以下标签:https://i.stack.imgur.com/60UHl.png
但到目前为止,我已经实现了这一点:https://i.stack.imgur.com/xL285.png

但是当我添加另一个网格时,我丢失了最后一个条形码:https://i.stack.imgur.com/q1vb4.png

我的代码有问题吗,或者有人可以帮我添加上面的两个网格。

这是我的代码:

^XA

^FX Fourth section (the two boxes on the bottom). ^FO50,50^GB900,520,3^FS

^FO50,400^GB900,1,2^FS

^CF0,40 ^FO100,440^FDCtr. X34B-1^FS ^FO100,510^FDCtr. X34B-1^FS

^CF0,40 ^FO510,440^FDCtr. X34B-1^FS ^FO510,510^FDCtr. X34B-1^FS

^FX Fourth section (the two boxes on the bottom). ^FO50,570^GB900,150,3^FS ^FO500,570^GB1,150,3^FS ^FO500,650^GB450,1,2^FS ^CF0,40 ^FO100,590^FDCtr. X34B-1^FS ^FO100,630^FDCtr. X34B-1^FS

^CF0,40 ^FO510,590^FDCtr. X34B-1^FS ^FO510,670^FDCtr. X34B-1^FS

^FX Fourth section (the two boxes on the bottom). ^FO50,720^GB900,150,3^FS

^FX Bar code with height of 100 dots ^FO370,735 ^BCN,120,N,N,N,N ^BY2,3; ^FD>;129393933939839489383 ^FS

^CF1,30 ^FO20,900^FDPotatoes^FS ^FO20,940^FDRPC^FS ^FO20,980^FDNorkotah^FS ^FO20,1010^FDRPC HEB^FS

^FO400,900^FDQTY: 40^FS

^FO800,900^FD08/11/2020^FS ^BY3,3,120 ^FO400,970^BC^FD1293939339^FS

^CF1,30 ^FO20,1200^FDPotatoes^FS ^FO20,1240^FDRPC^FS ^FO20,1280^FDNorkotah^FS ^FO20,1320^FDRPC HEB^FS

^FO400,1200^FDQTY: 40^FS

^FO800,1200^FD08/11/2020^FS ^BY3,3,120 ^FO400,1250^BC^FD1293939339^FS

^XZ

【问题讨论】:

  • 感谢您的编辑。经过这么长时间,我最近开始使用它。

标签: zebra-printers zpl zpl-ii


【解决方案1】:

这可能是您的问题的根源:

^FX Fourth section (the two boxes on the bottom). ^FO50,50^GB900,520,3^FS

您需要在每个 cmets 的末尾添加 ^FS。最佳做法是将 cmets 放在自己的行上:

^FX Fourth section (the two boxes on the bottom).^FS
^FO50,50^GB900,520,3^FS

【讨论】:

  • 是的,正是我的 cmets 给我带来了麻烦。谢谢
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2021-12-05
  • 2022-11-30
  • 1970-01-01
  • 2018-01-19
  • 2011-08-29
  • 2011-03-09
  • 1970-01-01
相关资源
最近更新 更多