For example, to encode FNC2 into a Code 128 Subset A barcode, send the ASCII "&"
(DEC 38, HEX 26) followed by the ASCII "B" (DEC 66, HEX 41).
l
Sample: ATEST&B123
l
Encoded: TEST<FNC2>123
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 CODEC -NA-
100 &E CODEB FNC4 CODEB
101 &F FNC4 CODEA CODEA
102 &G FNC1 FNC1 FNC1
Control Codes: By sending these control codes, control characters can be encoded
into a Code 128 Subset A barcode (e.g., ABC{DE will be encoded as ABC<ESC>DE):
Control Code in the Barcode Data Stream Encoded Control Character Result
` NUL
a through z 1 - 26
{ ESC
| FS
} GS
~ RS
ASCII 127 US
Sample
<STX>L
D11<CR>
1E000000015010001234567890<CR>
121100000000100Barcode E<CR>
E
Result
Prints a Code 128 barcode.
DPL Command Reference
189