比较两个条形码的方法

发布于 2024-08-20 21:27:38 字数 291 浏览 5 评论 0原文

我正在使用两个条形码。它们明显不同,但都扫描为代码 128。一种是奇怪的,一种是正常的。我尝试以我能想到的各种方式重新打印条形码的数据,以便我可以看到正在使用哪个子集(A、B 或 C)。

对于普通的,我知道前 10 个字符是 A,然后它将编码更改为 B

我似乎不知道如何查看另一个(奇怪的)编码是什么。

我正在使用符号扫描仪。 (我打开了前缀字符,但这只告诉我D(代码128)

是否有任何工具可以让我深入了解条形码符号系统?

I have two barcodes that I am working with. They are clearly different, but both scan as code 128. One is weird and one is normal. I have tried to reprint the data for the barcode in every way I can think of to I can see what subset (A, B or C) is being used.

For the normal one I know it is A for the first 10 chars then it changes the encoding to B.

I cannot seem to find out how to see what the encoding is on the other (weird) one.

I am using a symbol scanner. (I turned on the prefix char but that only told me D (Code 128)

Is there any tool to allow me to dig into the barcode symbologies?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(4

感悟人生的甜 2024-08-27 21:27:38

我对条形码知之甚少,对非欧洲条形码知之甚少,但对于 Code 128 的奇怪实现,还有 GS1-128

这个在线条形码生成器看起来相当不错,可以生成许多您可能想要检查的格式。

I know very little about barcodes and zero about non-european ones, but for weird implementations of Code 128, there is also GS1-128.

This online barcode generator looks quite nice and can generate a lot of formats you might want to check against.

并安 2024-08-27 21:27:38

在此插话,但 ZXing 库(我是开发人员)读取了代码 128。您可以在将调试器附加到代码时让它扫描条形码。它会向您显示解码过程中逐步发生的情况,包括子集更改。

Chiming in late here, but the ZXing library (I'm a developer) reads Code 128. You could have it scan the barcode while you attach a debugger to the code. It would show you exactly what's happening, step by step, in the decoding, including subset changes.

幸福%小乖 2024-08-27 21:27:38

我知道问题已经解决了。但这里有更多资源,以防有人需要:)

就像 Pekka 提到的,Code 128 有 Code 128A、Code 128B、Code 128C 和 GS1-128(UCC/EAN-128) 等子集。以下是有关 Code 128 条形码 的更多信息,以及编码模式说明。

I know the problem is fixed. But here's some more resource in case someone's in need :)

Like Pekka mentioned, a Code 128 have subsets like Code 128A, Code 128B, Code 128C and GS1-128(UCC/EAN-128). Here is more information on Code 128 barcode, with encoding pattern illustration.

各自安好 2024-08-27 21:27:38

感谢那些回答和评论的人。

事实证明,制作我们条形码的公司出现了打印错误。这导致条形码看起来不同。

我不知道它是如何成功解码的。反正。我将把这个问题交给佩卡,因为他给了我一个可行的解决方案。

Thanks for those that answered and commented.

Turns out the company that made our barcodes had a printing error. That caused the barcode to look different.

How it ever successfully decoded I do not know. Anyway. I am going to award the question to Pekka because he gave me a workable solution.

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