CognitiveTPG A798 User Manual
Page 85

Chapter 4: Programming Commands
85
Revision C 12/09
A798-PG00001C
Second variation: length n specified at beginning of string. Except as noted, 0 < n < 256.
m
Bar code
d1...dn
n
65
UPC-A
48–57 (ASCII numerals)
Fixed length: 11, 12
66
UPC-E
48–57
Fixed length: 11, 12
67
JAN13 (EAN)
48–57
Fixed length: 12, 13
68
JAN8 (EAN)
48–57
Fixed length: 7, 8
69
CODE39
48–57, 65–90 (ASCII alphabet), 32, 36, 37,
Variable
43, 45, 46, 47 (ASCII special characters)
d1 = dk = 42 (start/stop code is supplied
by printer if necessary)
70
Interleaved 2 of 5 (ITF)
48–57
Variable (even number)
71
CODABAR (NW-7)
65–68, start code 48- 57, 36, 43, 45, 46, 47, 58 Variable
72
Code 93
00–127
Variable
73
Code 128
0–105 d1 = 103-105 (must be a start code)
Variable
d2 = 0–102 (data bytes) (Stop code is provided
by the printer)
74
Code 128 auto compress
0–255
Variable
00–FF
75
PDF 417
0–255
Variable
00–FF
78
Code EAN 128 auto compress 0–255
Variable
00–FF
79
PDF 417
0–255
Variable
00–FF
0 < n < 2800
data length specified via integer
n = nH:nL 1D 6B m nL nH d1. . .dn
The value of m selects the bar code system as described in the table. The variable d indicates the character code to be
encoded into the specified bar code system. See the table. If character code d cannot be encoded, the printer prints the bar
code data processed so far, and the following data is treated as normal data.
Exceptions
Code 93 and PDF 417 are only available in A798 native mode.
Print multiple barcodes
ASCII
GS
Hexadecimal 1D 6B FF n
Decimal
29/108
All the individual barcode strings start with 1D 6B m, where m is the type of barcode. Use the same command to do
multiple barcodes on one line.
1D 6B FF 01
begin multiple barcodes one line
1D 6B FF 00
end multiple barcodes one line, print the barcodes
·
Multiple barcodes can be aligned right, left, center same as single line barcodes
·
All barcodes on one line printed at same alignment, height, width, and HRI as the first one