What ^BK does
^BK encodes ANSI Codabar, a self-checking numeric symbology with start/stop characters (A–D). It is widely used for library cards, blood-bank bags and photo-lab envelopes.
Syntax
^BKo,e,h,f,g,k,kParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
o | Orientation | N,R,I,B | N |
e | Check digit | Y,N | N |
h | Bar height in dots | — | — |
f | Print interpretation line | Y,N | Y |
g | Interpretation line above code | Y,N | N |
k | Start / stop character | A,B,C,D | A |
Example
^XA
^FO50,50^BKN,N,100,Y,N,A,A^FD12345678^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- Start and stop characters are letters A–D.
- Encodes digits plus a few symbols.
Related commands
See the full ZPL command reference for all 92 documented commands.
