Skip to command documentation
Supportedbarcoderasterfield scope
^B2

Interleaved 2 of 5 Bar Code

^B2 configures interleaved 2 of 5 Bar Code. It applies to the current field and can change pixels in the rendered label.

Syntax
^B2o,h,f,g,e,j
o

Orientation

Sets orientation. It can be omitted when the documented default is suitable.

Default
current ^FW value
Required
No
Documented valuesNRIB

o variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

o = N

Uses N for orientation while the other command values stay at representative defaults.

ZPLcaret-b2-o-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,100,Y,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

o = R

Uses R for orientation while the other command values stay at representative defaults.

ZPLcaret-b2-o-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2R,100,Y,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

o = B

Uses B for orientation while the other command values stay at representative defaults.

ZPLcaret-b2-o-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2B,100,Y,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
h

Bar code height (in dots)

Sets bar code height (in dots). It can be omitted when the documented default is suitable.

Default
value set by ^BY
Range
1–32000
Required
No
Documented values100132000

h variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

h = 100

Uses 100 for bar code height (in dots) while the other command values stay at representative defaults.

ZPLcaret-b2-h-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,100,Y,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h = 1

Uses 1 for bar code height (in dots) while the other command values stay at representative defaults.

ZPLcaret-b2-h-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,1,Y,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
f

Print interpretation line

Sets print interpretation line. It can be omitted when the documented default is suitable.

Default
Y
Required
No
Documented valuesYN

f variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

f = Y

Uses Y for print interpretation line while the other command values stay at representative defaults.

ZPLcaret-b2-f-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,100,Y,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

f = N

Uses N for print interpretation line while the other command values stay at representative defaults.

ZPLcaret-b2-f-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,100,N,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
g

Print interpretation line above code

Sets print interpretation line above code. It can be omitted when the documented default is suitable.

Default
N
Required
No
Documented valuesNY

g variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

g = Y

Uses Y for print interpretation line above code while the other command values stay at representative defaults.

ZPLcaret-b2-g-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,100,Y,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

g = N

Uses N for print interpretation line above code while the other command values stay at representative defaults.

ZPLcaret-b2-g-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,100,Y,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
e

Calculate and print Mod 10 check digit

Sets calculate and print Mod 10 check digit. It can be omitted when the documented default is suitable.

Default
N
Required
No
Documented valuesNY

e variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

e = Y

Uses Y for calculate and print Mod 10 check digit while the other command values stay at representative defaults.

ZPLcaret-b2-e-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,100,Y,N,Y,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

e = N

Uses N for calculate and print Mod 10 check digit while the other command values stay at representative defaults.

ZPLcaret-b2-e-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,100,Y,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
j

Print check digit in interpretation line

Sets print check digit in interpretation line. It can be omitted when the documented default is suitable.

Default
N
Required
No
Documented valuesNY

j variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

j = N

Uses N for print check digit in interpretation line while the other command values stay at representative defaults.

ZPLcaret-b2-j-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,100,Y,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

j = Y

Uses Y for print check digit in interpretation line while the other command values stay at representative defaults.

ZPLcaret-b2-j-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B2N,100,Y,N,N,Y
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret B2 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation