ZPL-设计标签

问题描述

我是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,650^GB450,2^FS ^CF0,590^FDCtr. X34B-1^FS ^FO100,630^FDCtr. X34B-1^FS

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

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

^FX Bar code with height of 100 dots ^FO370,735 ^BCN,120,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,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,1250^BC^FD1293939339^FS

^XZ

解决方法

这可能是您遇到问题的根源

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

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

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

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...