Skip to command documentation
Supportedbarcoderasterfield scope
^BB

CODABLOCK Barcode

^BB configures cODABLOCK Barcode. It applies to the current field and can change pixels in the rendered label.

Syntax
^BBo,h,s,c,r,m
o

Orientation

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

Default
N
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-bb-o-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,Y,8,0,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB 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-bb-o-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBR,8,Y,8,0,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB 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-bb-o-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBB,8,Y,8,0,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
h

Bar code height for individual rows (in dots)

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

Default
8 This number, multiplied by the module, equals the height of the individual row in dots
Range
2–32000
Required
No
Documented values8232000

h variations

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

Side-by-side comparison2 variations

h = 8

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

ZPLcaret-bb-h-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,Y,8,0,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h = 2

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

ZPLcaret-bb-h-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,2,Y,8,0,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
s

Security level

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

Default
Y Security level determines whether symbol check-sums are generated and added to the symbol
Required
No
Documented valuesYN

s variations

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

Side-by-side comparison2 variations

s = N

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

ZPLcaret-bb-s-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,N,8,0,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

s = Y

Uses Y for security level while the other command values stay at representative defaults.

ZPLcaret-bb-s-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,Y,8,0,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
c

Number of characters per row (data columns)

Sets number of characters per row (data columns). It can be omitted when the documented default is suitable.

Required
No
Documented values262

c variations

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

Side-by-side comparison2 variations

c = 2

Uses 2 for number of characters per row (data columns) while the other command values stay at representative defaults.

ZPLcaret-bb-c-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,Y,2,0,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

c = 62

Uses 62 for number of characters per row (data columns) while the other command values stay at representative defaults.

ZPLcaret-bb-c-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,Y,62,0,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
r

Number of rows to encode

Sets number of rows to encode. It can be omitted when the documented default is suitable.

Required
No
Documented values2

r variations

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

Side-by-side comparison2 variations

r = 2

Uses 2 for number of rows to encode while the other command values stay at representative defaults.

ZPLcaret-bb-r-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,Y,8,2,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

r = 3

Uses 3 for number of rows to encode while the other command values stay at representative defaults.

ZPLcaret-bb-r-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,Y,8,3,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
m

Mode

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

Default
F
Required
No
Documented valuesF

m variations

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

Side-by-side comparison2 variations

m = F

Uses F for mode while the other command values stay at representative defaults.

ZPLcaret-bb-m-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,Y,8,0,F
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

m = X

Uses X for mode while the other command values stay at representative defaults.

ZPLcaret-bb-m-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,Y,8,0,X
^FDCODABLOCK^FS
^FO28,318^A0N,22,22^FDCaret BB 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