斑马ZPL代码128 SSCC编码逃生字符
我需要使用Zebra ZPL打印SSCC代码128条形码。我的问题是,所使用的逃生字符也编码在条形码中,这不应该发生。
这是代码:
^FO50,960^BY3
^BCN,180,N,N,N,A
^FD>;>800{sscc}^FS
序列&gt ;; 8 < / code>是逃生 /控制序列,在条形码中被编码。因此,当我使用扫描仪阅读条形码时,我会得到:
&gt ;; 800xxxxxx ....
我在这里缺少什么?
I need to print a SSCC Code 128 barcode using Zebra ZPL. My problem is that the escape characters used are also encoded in the barcode, which should not happen.
Here is the code:
^FO50,960^BY3
^BCN,180,N,N,N,A
^FD>;>800{sscc}^FS
The sequence >;>8
, which is the escape / control sequence, gets encoded in the barcode. So when I read the barcode with a scanner, I get: >;>800xxxxxx....
What am I missing here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将其作为答案。您正在使用自动模式(<代码>^bc 命令的末端的a)。自动模式禁用逃生序列,因为它应用了自己的移位/闩锁逻辑。使用模式n(无)允许手动编码数据。
Reposting this as an answer. You are using Automatic mode (the A at the end of the
^BC
command). Automatic mode disables escape sequences since it applies its own shift/latch logic. Use mode N (None) to allow manually encoding the data.