
7-92 Chapter 7: Programming Guide
Value of
n
Remote Diagnostic
Item
Function
ASC Hex Dec
“
22
34
Serial #
Not available, cannot clear Serial # item
#
23
35
Serial #
Return Serial #, preceded by
n
to identify
Printer returns 12 bytes in above example:
#1234567890<CR>
$ 24 36
Class/model
#,
15 digit ASCII
Write to NVRAM
%
25
37
Class/model # Write to NVRAM, and print on receipt to verify
‘
27
39
Class/model #
Return Class/model #, returns 17 bytes
+ 2B 43
Boot
firmware
part #, 12 digit
ASCII
Return Boot firmware part #, returns 14 bytes
/ 2F 47
Boot
firmware
CRC, 4 digit
ASCII
Return Boot firmware CRC, returns 6 bytes
3 33 51
Flash
firmware
part #, 12 digit
ASCII
Return Flash firmware part #, returns 14 bytes
7 37 55
Flash
firmware
CRC, 4 digit
ASCII
Return Flash firmware CRC, returns 6 bytes
Ç 80 128
Receipt
lines
tally,
8 digit ASCII
numeric,
max 99,999,999
Write to NVRAM
Example, send 12 bytes to printer: GS I @
Ç00010000
To set receipt lines tally to 10,000
ü 81 129
Receipt
lines
tally
Write to NVRAM, and print on receipt to verify
Example, send 12 bytes to printer: GS I @
ü00010000
This will print on receipt: Receipt tally written:
10,000
é 82 130
Receipt
lines
tally
Clear receipt lines tally to 0
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...