扫描时缺少最后一位数字

问题描述 投票:0回答:1

我有这个代码,在扫描条形码时最后一位数字丢失,例如标签上有0076490499983,扫描这个标签时它只显示007649049998。请帮我解决这个问题

^BY2,,105^FO20,522^BCN,,N,N,N^FV>;>80076490499983^FS

为什么扫描时最后一位数字缺失?

barcode barcode-scanner zpl zebra
1个回答
0
投票

尝试分解事情:

^BY2,,105^FO20,522^BCN,,N,N,N^FV>;>80076490499983^FS

ZPL 参考在这里

^BY2,,105     default for module width, height and height. 
              x2 wide, default ratio, height=105 dots

^FO20,522     Field origin 20,522

^BC           Code 128 barcode
   parameters given: 
      N,,N,N,N
        orientation= Normal
        height = given by BY
        interpretation line = No
        interpretation above = No
        UCC Check = No
        mode not given

^FV            Field variable (content)
    >;    Start code C
    >8    FNC1
    0076490499983   Some content. Is this supposed to be (00)... ?

^FS            End of content

我认为问题出在人工智能的使用上。 参见标准

AI(00) 定义为 N2 + N18。

如果您添加正确数量的数字,它将按预期进行扫描。

© www.soinside.com 2019 - 2024. All rights reserved.