Skip to content

^BK ANSI Codabar

Codabar barcode, used by libraries, blood banks and some couriers.

^BK prints an ANSI Codabar barcode for digits and - $ : / . +, framed by start and stop characters A to D that you set in the command, not in the data.

Barcodes · Updated 2026-10-20

Syntax

^BKo,e,h,f,g,k,l

Parameters

ParameterWhat it doesValues
oRotation.N, R, I, B
eCheck digit.N (fixed)
hBar height, in dots.default: ^BY's
fHuman-readable line.Y or N; default Y
gPut that line above the code.Y or N; default N
kStart character.A, B, C or D; default A
lStop character.A, B, C or D; default A

Common mistakes

  • The start and stop characters come from k and l, not from the data: ^FDA1234B is refused.

Example

Edit the code and the label redraws. This is the same engine as the API.

Try it

Preview

100%
Output of this example
^BK example rendered by the OpenZPL engine
4 × 3 in at 203 dpi, rendered by the OpenZPL engine when this page was published.

Questions

What does ^BK do in ZPL?

^BK prints an ANSI Codabar barcode for digits and - $ : / . +, framed by start and stop characters A to D that you set in the command, not in the data.

What is the syntax of ^BK?

^BKo,e,h,f,g,k,l

What should I watch out for with ^BK?

The start and stop characters come from k and l, not from the data: ^FDA1234B is refused.

Related commands

Share this command
Feedback