
Code 128
Command Structure
<ESC>BGbbcccdd (data)
bb
=
Width
of
narrow
element
in
dots
(01~12).
ccc
=
Bar
height
in
dots
(001~999)
dd
=
Start code to specify initial subset of bar code data.
>G Subset A Start code.
>H Subset B Start code.
>I
Subset C Start code.
(data) =
Includes bar code data and subset shift codes; Shift codes are used
to change the subset type within the bar code data. Shift codes:
>E
Subset A Shift code.
>D Subset B Shift code.
>C Subset C Shift code.
Character Set
All 128 codes.
Density Table
Density (char/inch)
Narrow/Wide
Ratio
“X” Dimension
(mils)
Subsets A, B
Subset C
1
5.0
18.2
36.5
1
10.0
9.1
18.3
3
15.0
13.8
12.2
Example
The following will start in Subset A for the characters “AB”, shift to Subset B
for “789”, then shift to Subset C for “123456”.
<ESC>H100<ESC>V100<ESC>BG03100>GAB>D789>C123456
<ESC>H220<ESC>V210<ESC>XSAB789123456
117
All manuals and user guides at all-guides.com