Bar Code Commands
^B2 - Interleaved 2 of 5 Bar Code
Creates Interleaved 2 of 5 barcode for numeric data
^B2 - Interleaved 2 of 5 Bar Code
Overview
The ^B2 command creates an Interleaved 2 of 5 barcode, a high-density numeric barcode commonly used in inventory and distribution.
Syntax
^B2o,h,f,g,e
Parameters
- o = Orientation
- N = Normal (0°)
- R = Rotated 90° clockwise
- I = Inverted 180°
- B = Bottom up (270°)
- h = Bar code height in dots
- f = Print interpretation line (below)
- Y = Yes
- N = No
- g = Print interpretation line above
- Y = Yes
- N = No
- e = Check digit (Y/N)
Description
- Encodes numeric data (5-digit pairs)
- Higher density than Code 39
- Used in distribution centers
- Requires even number of digits
Usage Notes
- Numeric data only
- Data length must be even
- Higher density barcode
- Quiet zones required
Example
^XA ^FO50,50 ^B2N,80,Y,N,Y ^FD123456^FS ^XZ
Related Commands
^BI- Industrial 2 of 5^BJ- Standard 2 of 5^BY- Change Narrow Bar Width