^B2 Interleaved 2 of 5
Interleaved 2 of 5 barcode, numeric only.
Barcodes · Updated 2026-10-20
Syntax
^B2o,h,f,g,e
Parameters
| Parameter | What it does | Values |
|---|---|---|
o | Rotation. | N, R, I, B |
h | Bar height, in dots. | default: ^BY's |
f | Human-readable line. | Y or N |
g | Line above. | Y or N |
e | Mod-10 check digit. | Y or N; default N |
Common mistakes
- Interleaved 2 of 5 encodes digits in pairs: an odd count gets a leading zero.
Example
Edit the code and the label redraws. This is the same engine as the API.
Questions
What does ^B2 do in ZPL?
Interleaved 2 of 5 barcode, numeric only.
What is the syntax of ^B2?
^B2o,h,f,g,e
What should I watch out for with ^B2?
Interleaved 2 of 5 encodes digits in pairs: an odd count gets a leading zero.