CognitiveTPG A799 Programming Manual page 100

A799 two-color thermal receipt printer
Hide thumbs Also See for A799:
Table of Contents

Advertisement

100
Chapter 4: Programming Commands
Values:
First variation: String terminated with NUL character. Length k is not specified in command string; it depends on the bar
code being printed.
m
Bar code
d1...dk
0
UPC-A
48–57 (ASCII numerals)
1
UPC-E
48–57
2
JAN13 (EAN)
48–57
3
JAN8 (EAN)
48–57
4
Code 39
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)
5
Interleaved 2 of 5
48–57
6
Codabar
65–68, start code 48–57, 36, 43, 45, 46, 47, 58
10
PDF 417
32–255
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
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. 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 A799 native mode.
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)
00–255
00–FF
0–255
00–FF
0–255
00–FF
0–255
00–FF
data length specified via
integer n = nH:nL 1D 6B m nL nH d1 . . . dn
A799-PG00001D
Revision D 12/09
length
Fixed length: 11, 12
Fixed length: 11, 12
Fixed length: 12, 13
Fixed length: 7, 8
Variable length
Variable length (even number)
Variable length
Variable length, maximum 1000 characters
length
Fixed length: 11, 12
Fixed length: 11, 12
Fixed length: 12, 13
Fixed length: 7, 8
Variable length
Variable length (even number)
Variable length
Variable length
Variable length
Variable length
Variable length
Variable length
Variable length
0 < n < 2800

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colorpos a799

Table of Contents