ZPL 代码逻辑和包含 - 符号的条形码
ZPL code logic and barcodes which contain - symbol
我需要创建一个包含 HYPHEN 符号和
以下值为示例 211212-PB00000658
生成的 ZPL 代码是
^XZ
^XA
^MMT
^PW1343
^LL406
^LS0
^BY4,3,91^FT316,199^BCN,,Y,N
^FH\^FD>;211212>6-PB>500000658^FS
^PQ1,0,1,Y
^XZ
谁能给我解释一下这是什么 >6-PB>5 以及背后的逻辑是什么?
这是一个字符集更改。还要注意开头的 >;
,以 Subset C
(全部为数字)而不是默认的 Subset B
开头。它允许减少条形码的大小。你可以比较这两个,生成的条形码包含相同的信息,但未压缩的条形码更宽。
^XA
^BY4,3,91
^FT26,190^BCN,,Y,N
^FD211212-PB00000658^FS
^BY4,3,91
^FT26,390^BCN,,Y,N
^FH^FD>;211212>6-PB>500000658^FS
^XZ
结果:
来自 ZPL 手册:
UCC/EAN-128 offers several advantages. It is one of the most complete,
alphanumeric, one-dimensional symbologies available today. The use of
three different character sets (A, B and C), facilitates the encoding
of the full 128 ASCII character set. Code 128 is one of the most
compact linear bar code symbologies. Character set C enables numeric
data to be represented in a double density mode. In this mode, two
digits are represented by only one symbol character saving valuable
space. The code is concatenated. That means that multiple AIs and
their fields may be combined into a single bar code. The code is also
very reliable. Code 128 symbols use two independent self-checking
features which improves printing and scanning reliability.
您的条形码说明:
>;211212>6-PB>500000658
>; start code C (all numeric)
211212 numeric value
>6 invocation code, select subset character code B, allowing alphanumeric
-PB hyphen and PB characters
>5 invocation code, select subset character code C, all numeric again
00000658 numeric value
参考:(见第82至86页)
https://www.zebra.com/content/dam/zebra/manuals/printers/common/programming/zpl-zbi2-pm-en.pdf
我需要创建一个包含 HYPHEN 符号和 以下值为示例 211212-PB00000658
生成的 ZPL 代码是
^XZ
^XA
^MMT
^PW1343
^LL406
^LS0
^BY4,3,91^FT316,199^BCN,,Y,N
^FH\^FD>;211212>6-PB>500000658^FS
^PQ1,0,1,Y
^XZ
谁能给我解释一下这是什么 >6-PB>5 以及背后的逻辑是什么?
这是一个字符集更改。还要注意开头的 >;
,以 Subset C
(全部为数字)而不是默认的 Subset B
开头。它允许减少条形码的大小。你可以比较这两个,生成的条形码包含相同的信息,但未压缩的条形码更宽。
^XA
^BY4,3,91
^FT26,190^BCN,,Y,N
^FD211212-PB00000658^FS
^BY4,3,91
^FT26,390^BCN,,Y,N
^FH^FD>;211212>6-PB>500000658^FS
^XZ
结果:
来自 ZPL 手册:
UCC/EAN-128 offers several advantages. It is one of the most complete, alphanumeric, one-dimensional symbologies available today. The use of three different character sets (A, B and C), facilitates the encoding of the full 128 ASCII character set. Code 128 is one of the most compact linear bar code symbologies. Character set C enables numeric data to be represented in a double density mode. In this mode, two digits are represented by only one symbol character saving valuable space. The code is concatenated. That means that multiple AIs and their fields may be combined into a single bar code. The code is also very reliable. Code 128 symbols use two independent self-checking features which improves printing and scanning reliability.
您的条形码说明:
>;211212>6-PB>500000658
>; start code C (all numeric)
211212 numeric value
>6 invocation code, select subset character code B, allowing alphanumeric
-PB hyphen and PB characters
>5 invocation code, select subset character code C, all numeric again
00000658 numeric value
参考:(见第82至86页)
https://www.zebra.com/content/dam/zebra/manuals/printers/common/programming/zpl-zbi2-pm-en.pdf