Chapter 7: Programming Guide 7-117
The check digit is calculated for UPC and JAN (EAN) codes if it is not
sent from the host computer. Six-character zero-suppressed UPC-E tags
are generated from full 11 or 12 characters sent from the host computer
according to standard UPC-E rules. Start/Stop characters are added for
Code 39 if they are not included.
m
Bar Code
D
n, Length
0
UPC-A
48- 57 (ASCII numerals)
Fixed Length: 11, 12
1
UPC-E
48- 57
Fixed Length: 11, 12
2
JAN13 (EAN)
48- 57
Fixed Length: 12, 13
3
JAN8 (EAN)
48- 57
Fixed Length: 7, 8
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)
Variable Length
5
Interleaved 2 of 5
48- 57
Variable Length
(Even Number)
6
Codabar
65- 68, start code
48- 57,
36, 43, 45, 46, 47, 58
Variable Length
10
PDF 417
1-255
Variable Length
A758 Native Mode
(Print Bar Code--continued on the next page)
Second Variation: Length of Byte Specified at Beginning of String
m
= 65 - 73, 75 (see the table)
d
= 0 - 127 (see the table)
n
=
1 - 255 (see the table)
The value of
m
selects the bar code system as described in the table.
When data is present in the print buffer, the printer processes the data
following
m
as normal data. 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.
Summary of Contents for 7158
Page 1: ...NCR 7158 Thermal Receipt and Impact Printer Release 1 0 Owner s Guide B005 0000 1112 Issue D...
Page 26: ...1 8 Chapter 1 About the Printer...
Page 50: ...3 12 Chapter 3 Using the Printer Clearing Check Flip Paper Jams Check Check Flip Window Door...
Page 110: ...5 28 Chapter 5 Technical Specifications Code Page 437...
Page 111: ...Chapter 5 Technical Specifications 5 29 Code Page 850...
Page 112: ...5 30 Chapter 5 Technical Specifications Code Page 852...
Page 113: ...Chapter 5 Technical Specifications 5 31 Code Page 858...
Page 114: ...5 32 Chapter 5 Technical Specifications Code Page 860...
Page 115: ...Chapter 5 Technical Specifications 5 33 Code Page 863...
Page 116: ...5 34 Chapter 5 Technical Specifications Code Page 865...
Page 117: ...Chapter 5 Technical Specifications 5 35 Code Page 866...
Page 128: ...6 10 Chapter 6 Communication Interface...
Page 286: ...7 158 Chapter 7 Programming Guide...
Page 314: ...Index 8 W Weight of printer 5 36 X XON XOFF protocol 6 6...