A795 User Guide: Programming Supplement
Chapter 4: Programming commands
78
Transmit printer ID, remote diagnostics extension
ASCII
GS I @ n
Hexadecimal
1D 49 40 n
Decimal
29 73 64 n
Values of n:
Refer to table
The command performs the remote diagnostic function specified by n as described in the following table.
Value of n
ASCII
Hex
Dec
Remote diagnostic item
Function
Space
20
32
Serial #, 10 digit ASCII
Write to NVRAM Example, send 14 bytes to printer:
GS I @ 0x20 1234567890
!
21
33
Serial #
Write to NVRAM, and print on receipt to verify
Example, send 14 bytes to printer:
GS I @ ! 1234567890 This will print on receipt:
Serial # written: 1234567890
#
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,
Write to NVRAM Example, send 12 bytes to printer:
8 digit ASCII numeric,
GS I @ Ç00010000 To set receipt lines tally to 10,000
max 99,999,999
ü
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
â
83
131
Receipt lines tally
Return receipt lines tally, preceded by n to identify
Printer returns 10 bytes in above example:
â00010000<CR>
ä
84
132
Knife cut tally, 8 digit ASCII numeric,
Write to NVRAM
max 99,999,999
à
85
133
Knife cut tally
Write to NVRAM, and print on receipt to verify
Содержание A795
Страница 1: ...A795 D100 PS UserGuide ProgrammingSupplement A795Two ColorThermalReceiptPrinter TM...
Страница 10: ...A795 User Guide Programming Supplement Chapter 1 About this Supplement 10...
Страница 110: ...A795 User Guide Programming Supplement Chapter 4 Programming commands 110...
Страница 118: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 118 Code page 737 Greek...
Страница 119: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 119 Code page 850 Multilingual...
Страница 120: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 120 Code page 852 Slavic...
Страница 121: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 121 Code page 858 with Eurosymbol...
Страница 122: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 122 Code page 860 Portuguese...
Страница 123: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 123 Code page 862 Hebrew...
Страница 124: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 124 Code page 863 French Canadian...
Страница 125: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 125 Code page 865 Nordic...
Страница 126: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 126 Code page 866 Cyrillic...
Страница 127: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 127 Code page 1252 Windows Latin 1...
Страница 128: ...189 9200281 E A795 D100 PS 05 01 TM...