What ^B2 does
^B2 creates an Interleaved 2 of 5 barcode, a compact numeric-only symbology used on cartons and cases (ITF-14). It encodes pairs of digits efficiently, which is why it's common for shipping-container and GTIN-14 case codes.
Syntax
^B2o,h,f,g,eParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
o | Orientation | N, R, I, B | — |
h | Bar height, dots | — | — |
f | Interpretation line | Y, N | Y |
Example
^XA
^BY3,3,120
^FO50,50^B2N,120,Y,N,N^FD00123456789012^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Related commands
See the full ZPL command reference for all 92 documented commands.
