4. Bar Code Specifications

Programming Manual

Code 128

Command Structure:

<ESC>BGbbcccdd (data)

bb:Width of narrow element in dots (01-12)

ccc:Bar height in dots (001-600)

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):

IncludesbarcodedataandsubsetShiftcodes;Shiftcodes

 

 

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

 

 

 

Density Table:

 

 

 

 

 

 

 

Printer

Value of "bb"

"X"

 

Density

 

Resolution

 

 

Dimension

 

(char/inch)

 

 

 

 

(mils)

 

 

 

 

 

 

 

Subset A, B

Subset C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

01

 

3.3

 

27.3

54.7

 

12 dot/mm

 

 

 

 

 

 

 

02

 

6.7

 

13.6

27.2

 

 

 

 

 

 

 

 

 

 

03

 

10.0

 

9.1

18.3

 

 

 

 

 

 

 

 

 

 

01

 

5.0

 

18.2

36.5

 

8 dot/mm

 

 

 

 

 

 

 

02

 

10.0

 

9.1

18.3

 

 

03

 

15.0

 

13.8

12.2

 

 

 

 

 

 

 

 

Input:

The following will start in Subset A for the characters “AB”, shift to Sub- set B for “789”, then shift to Subset C for “123456”.

<ESC>H0200<ESC>V0550<ESC>BG03100>GAB>B789>C123456

<ESC>H0310<ESC>V655<ESC>XSAB789123456

Output:

142

SATO RISC Printers

Page 142
Image 142
SATO CL408/412, XL400/410, M8460S, M8490S, M-8400RV, M8485S, M8459S, CL608/612 manual Code, ESCBGbbcccdd data