Skip to content

^B2 Interleaved 2 of 5

Interleaved 2 of 5 barcode, numeric only.

Barcodes · Updated 2026-10-20

Syntax

^B2o,h,f,g,e

Parameters

ParameterWhat it doesValues
oRotation.N, R, I, B
hBar height, in dots.default: ^BY's
fHuman-readable line.Y or N
gLine above.Y or N
eMod-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.

Try it

Preview

100%

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.

Related commands