斑马ZPL代码128 SSCC编码逃生字符

发布于 2025-01-24 14:29:53 字数 300 浏览 0 评论 0原文

我需要使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤星 2025-01-31 14:29:53

将其作为答案。您正在使用自动模式(<代码>^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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文