^BBCODABLOCK Barcode
^BB configures cODABLOCK Barcode. It applies to the current field and can change pixels in the rendered label.
A representative output
This compact example is selected because the visible result clearly demonstrates ^BB.
Recommended rendered sample
Uses ^BB in a compact label where its visible effect is easy to inspect.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BBN,8,Y,8,0,F
^FDCODABLOCK^FS
^XZoOrientation
Sets orientation. It can be omitted when the documented default is suitable.
- Default
N- Required
- No
NRIBo variations
Compare values side by side; other parameters remain at representative defaults.
o = N
Uses N for orientation while the other command values stay at representative defaults.
^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
^XZo = R
Uses R for orientation while the other command values stay at representative defaults.
^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
^XZo = B
Uses B for orientation while the other command values stay at representative defaults.
^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
^XZhBar 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
8232000h variations
Compare values side by side; other parameters remain at representative defaults.
h = 8
Uses 8 for bar code height for individual rows (in dots) while the other command values stay at representative defaults.
^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
^XZh = 2
Uses 2 for bar code height for individual rows (in dots) while the other command values stay at representative defaults.
^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
^XZsSecurity 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
YNs variations
Compare values side by side; other parameters remain at representative defaults.
s = N
Uses N for security level while the other command values stay at representative defaults.
^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
^XZs = Y
Uses Y for security level while the other command values stay at representative defaults.
^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
^XZcNumber 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
262c variations
Compare values side by side; other parameters remain at representative defaults.
c = 2
Uses 2 for number of characters per row (data columns) while the other command values stay at representative defaults.
^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
^XZc = 62
Uses 62 for number of characters per row (data columns) while the other command values stay at representative defaults.
^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
^XZrNumber of rows to encode
Sets number of rows to encode. It can be omitted when the documented default is suitable.
- Required
- No
2r variations
Compare values side by side; other parameters remain at representative defaults.
r = 2
Uses 2 for number of rows to encode while the other command values stay at representative defaults.
^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
^XZr = 3
Uses 3 for number of rows to encode while the other command values stay at representative defaults.
^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
^XZmMode
Sets mode. It can be omitted when the documented default is suitable.
- Default
F- Required
- No
Fm variations
Compare values side by side; other parameters remain at representative defaults.
m = F
Uses F for mode while the other command values stay at representative defaults.
^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
^XZm = X
Uses X for mode while the other command values stay at representative defaults.
^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
^XZPrimary source
Official Zebra reference
Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.