ZPL commands
^BK · ANSI Codabar Bar Code
Generates a Codabar barcode digits plus start/stop A–D; mainly libraries, blood banks, shipping .
Generates a Codabar barcode (digits plus start/stop A–D; mainly libraries, blood banks, shipping).
Parameters
^BKo,e,h,f,g,k,l- o: Orientation (N/R/I/B)^BKo,e,h,f,g,k,l- e: Check digit (fixed N - Codabar has no check digit)^BKo,e,h,f,g,k,l- h: Bar code height in dots^BKo,e,h,f,g,k,l- f: Print interpretation line (Y/N)^BKo,e,h,f,g,k,l- g: Print interpretation line above code (Y/N)^BKo,e,h,f,g,k,l- k: Start character (A/B/C/D, default A)^BKo,e,h,f,g,k,l- l: Stop character (A/B/C/D, default A)
Example
^XA
^FO50,50^BY2^BKN,N,80,Y,N,A,B^FD12345678^FS
^XZ
Tip
The start/stop characters (A–D) are NOT part of ^FD - they go in parameters k and l.