beautypg.com

Datamax-O'Neil DPL Programmer’s Manual User Manual

Page 229

background image

Appendix G – Bar Code Details

221

built into the printer; see table below. As an example, to encode FNC2 into a Code128
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


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

The following example prints a Code128 Auto bar code:

L
D11
1W1J000000025002512345&G10Z2133021AK
121100000000100Barcode W1J
E

Barcode W1J


When scanned this bar code will decode as follows:

[C]1234[B]5[F1]10Z2 [C]133021[B]AK(95)

This manual is related to the following products: