beautypg.com

Datamax-O'Neil Class Series II Programmer’s Manual User Manual

Page 247

background image

Appendix G – Bar Code Details

Class Series 2 Programmer’s Manual

233


Note that there is no auto-switching from or to Subset A. Standard switches are still

used (see table below).


Subset A:
Includes all of the standard uppercase alphanumeric keyboard characters

plus the control and special characters.

Subset B: Includes all of the standard uppercase alphanumeric keyboard characters
plus the lowercase alphabetic and special characters.

Subset C: Includes the set of 100 digit pairs from 00 through 99 inclusive, as well as
special characters. EAN128 Subset C is used for double density encoding of numeric

data.

Special Character Handling: Characters with an ASCII value greater than 95 are
considered special characters. To access these values, a two-character reference table is

built into the printer; see table below. As an example, to encode FNC2 into an EAN128
Subset A bar code, send the ASCII & (DEC 38, HEX 26) followed by an ASCII B (DEC 66,
HEX 41). Code FNC2 will be encoded.

ASCII

2 CHAR

CODE A

CODE B

CODE C

96 &A

FNC3

FNC3

-NA-

97

&B

FNC2

FNC2

-NA-

98 &C

SHIFT

SHIFT

-NA-

99

&D

CODEC

-NA-

-NA-

100 &E

CODEB

FNC4

-NA-

101

&F

FNC4

CODEA

CODEA

102 &G FNC1 FNC1 FNC1

Table G-5: Special Character Handling



Control Codes:
Control character encoding into Code 128 Subset A by sending these

control codes:

` = NUL

a through z = 1 - 26

{ = ESC

| = FS

} = GS

~ = RS

ASCII 127 = US

This manual is related to the following products: