Print Multiple Barcodes - CognitiveTPG A798 Programming Manual

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

Revision C 12/09
Second variation: length n specified at beginning of string. Except as noted, 0 < n < 256.
m
Bar code
65
UPC-A
66
UPC-E
67
JAN13 (EAN)
68
JAN8 (EAN)
69
CODE39
70
Interleaved 2 of 5 (ITF)
71
CODABAR (NW-7)
72
Code 93
73
Code 128
74
Code 128 auto compress
75
PDF 417
78
Code EAN 128 auto compress 0–255
79
PDF 417
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
d1...dn
48–57 (ASCII numerals)
48–57
48–57
48–57
48–57, 65–90 (ASCII alphabet), 32, 36, 37,
43, 45, 46, 47 (ASCII special characters)
d1 = dk = 42 (start/stop code is supplied
by printer if necessary)
48–57
65–68, start code 48- 57, 36, 43, 45, 46, 47, 58
00–127
0–105 d1 = 103-105 (must be a start code)
d2 = 0–102 (data bytes) (Stop code is provided
by the printer)
0–255
00–FF
0–255
00–FF
00–FF
0–255
00–FF
data length specified via integer
n = nH:nL 1D 6B m nL nH d1. . .dn
A798-PG00001C
Chapter 4: Programming Commands
n
Fixed length: 11, 12
Fixed length: 11, 12
Fixed length: 12, 13
Fixed length: 7, 8
Variable
Variable (even number)
Variable
Variable
Variable
Variable
Variable
Variable
Variable
0 < n < 2800
85

Advertisement

Table of Contents
loading

Table of Contents