7156 Owner’s Guide
Chapter 6: Commands
September 1997
101
Second Variation: Length of Byte Specified at Beginning of String
Hexadecimal
Decimal
ASCII
1D 6B m [d]n
29 107 m [d]n
GS k m [d]n
m = 65-71, 73 (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.
m
Bar Code
d
n, Length
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, 43, 45, 46, 47 (ASCII
special characters)
d1 = dk = 42 (start/stop code is
supplied by printer if necessary)
Variable
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
73
Code 128*
0-105
d1 = 103-105 (must be a Start code)
d2 = 0-102 (data bytes)
(Stop code is provided by the
printer)
Variable
Select Horizontal Size of Bar Code (Receipt Station)
Sets the bar code width to n dots or n/152 inch (n/6 mm).
Hex
Decimal
ASCII
Value of
n
Defaul
t
1D 77 n
29 119 n
GS w n
2, 3, 4
3
Содержание 7156
Страница 1: ...BD20 1436 A Issue B September 1997 NCR 7156 Thermal Receipt and Impact Slip RS232 Owner s Guide...
Страница 6: ...Contents 7156 Owner s Guide September 1997 iv...
Страница 31: ...7156 Owner s Guide Chapter 2 Setting Up and Using the Printer September 1997 25 Sample Print Test...
Страница 38: ...Chapter 3 Solving Problems 7156 Owner s Guide September 1997 32...
Страница 118: ...Chapter 6 Commands 7156 Owner s Guide September 1997 112...
Страница 122: ...Appendix A Specifications 7156 Owner s Guide September 1997 116...
Страница 129: ...7156 Owner s Guide Appendix B Print Characteristics September 1997 123...
Страница 130: ...Appendix B Print Characteristics 7156 Owner s Guide September 1997 124...
Страница 136: ...Index 7156 Owner s Guide September 1997 6...