^BKANSI Codabar Bar Code
^BK configures aNSI Codabar Bar Code. 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 ^BK.
Recommended rendered sample
Uses ^BK in a compact label where its visible effect is easy to inspect.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,N,N,A,B
^FD123456^FS
^XZoOrientation
Sets orientation. It can be omitted when the documented default is suitable.
- Default
current ^FW value- 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
^BKN,N,60,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK 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
^BKR,N,60,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK 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
^BKB,N,60,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZeCheck digit
Sets check digit. It can be omitted when the documented default is suitable.
- Required
- No
0e variations
Compare values side by side; other parameters remain at representative defaults.
e = 0
Uses 0 for check digit while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,0,60,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZe = 1
Uses 1 for check digit while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,1,60,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZhBarcode height (in dots)
Sets barcode height (in dots). It can be omitted when the documented default is suitable.
- Default
value set by ^BY- Range
1–32000- Required
- No
100132000h variations
Compare values side by side; other parameters remain at representative defaults.
h = 100
Uses 100 for barcode height (in dots) while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,100,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZh = 1
Uses 1 for barcode height (in dots) while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,1,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZfPrint interpretation line
Sets print interpretation line. It can be omitted when the documented default is suitable.
- Default
Y- Required
- No
YNf variations
Compare values side by side; other parameters remain at representative defaults.
f = N
Uses N for print interpretation line while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZf = Y
Uses Y for print interpretation line while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,Y,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZgPrint interpretation line above code
Sets print interpretation line above code. It can be omitted when the documented default is suitable.
- Default
N- Required
- No
NYg variations
Compare values side by side; other parameters remain at representative defaults.
g = N
Uses N for print interpretation line above code while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZg = Y
Uses Y for print interpretation line above code while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,N,Y,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZkDesignates a start character
Sets designates a start character. It can be omitted when the documented default is suitable.
- Default
A- Required
- No
ABCDk variations
Compare values side by side; other parameters remain at representative defaults.
k = A
Uses A for designates a start character while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZk = B
Uses B for designates a start character while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,N,N,B,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZk = D
Uses D for designates a start character while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,N,N,D,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZlDesignates stop character
Sets designates stop character. It can be omitted when the documented default is suitable.
- Default
A- Required
- No
ABCDl variations
Compare values side by side; other parameters remain at representative defaults.
l = A
Uses A for designates stop character while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,N,N,A,A
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZl = B
Uses B for designates stop character while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,N,N,A,B
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZl = D
Uses D for designates stop character while the other command values stay at representative defaults.
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BKN,N,60,N,N,A,D
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BK parameter example^FS
^XZPrimary source
Official Zebra reference
Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.