Barcodes

^BKCodabar (ANSI) Barcode

Prints a Codabar barcode used in libraries and blood banks.

Category
Barcodes
Syntax
^BKo,e,h,f,g,k,k

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,k

Parameters

ParameterDescriptionValuesDefault
oOrientationN,R,I,BN
eCheck digitY,NN
hBar height in dots
fPrint interpretation lineY,NY
gInterpretation line above codeY,NN
kStart / stop characterA,B,C,DA

Example

^XA
^FO50,50^BKN,N,100,Y,N,A,A^FD12345678^FS
^XZ

Paste 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.

See the full ZPL command reference for all 92 documented commands.

Work with your labels, not just read about them

Zentralabel converts, previews, validates, and enriches ZPL labels right in your browser — free tools for one-offs, batch processing for scale.