^BK
^BK

^BK

The ANSI Codabar bar code is used in a variety of information processing applications such as libraries, the medical industry, and overnight package delivery companies. This bar code is also known as USD-4 code, NW-7, and 2 of 7 code. It was originally developed for retail price labeling.

ANSI Codabar Bar Code

Each character in this code is composed of seven elements: four bars and three spaces. Codabar bar codes use two character sets, numeric and control (start and stop) characters.
  • ^BK
    supports a print ratio of 2.0:1 to 3.0:1.
  • Field data (
    ^FD
    ) is limited to the width (or length, if rotated) of the label.
If additional information about this bar code is required, go to www.aimglobal.org.
Format:
^BKo,e,h,f,g,k,l
Parameters
Details
o =
orientation
Values:
N =
normal
R =
rotated 90 degrees (clockwise)
I =
inverted 180 degrees
B =
read from bottom up, 270 degrees
Default:
current
^FW
value
e =
check digit
Fixed Value:
N
h =
bar code height (in dots)
Values:
1
to
32000
Default:
value set by
^BY
f =
print interpretation line
Values:
N =
no
Y =
yes
Default:
Y
g =
print interpretation line above code
Values:
Y =
no
Y =
yes
Default:
N
k =
designates a start character
Values:
A,B
,
C
,
D
Default:
A
l =
designates stop character
Values:
A,B
,
C
,
D
Default:
A
Example:
This is an example of an ANSI Codabar bar code: