A795 User Guide: Programming Supplement
Chapter 4: Programming commands
80
Performs the remote diagnostic function specified by n.
Eighteen remote diagnostic items are defined: eight printer
ID items and ten printer tally items. A group of four
remote diagnostic functions is assigned to each diagnostic
item. Most of the diagnostic items are maintained in non-
volatile memory (NVRAM), but some are maintained in
read-only memory (ROM).
The table that follows describes the variables.
The first item group in the table includes an example of
data to send and to receive. Data sent from the host to
write to NVRAM must contain all digits required by the
remote diagnostic item. All data must be ASCII. The
printer returns all ASCII data. It is preceded by the
parameter n to identify the diagnostic item and is followed
by a carriage return (0D) to signify the end of the data.
Each returned message is defined as: n + data + <CR>
Transmit status
ASCII
GS r n
Hexadecimal
1D 72 n
Decimal
29 114 n
Value of n:
1, 49 = printer status
2, 50 = cash drawer status
4, 52 = Flash memory user sector status
Transmits the status specified by n. This is a batch mode
command which transmits the response after all prior data
in the receive buffer has been processed. There may be a
time lag between the printer receiving this command and
transmitting the response, depending on the receive buffer
status.
When DTR/DSR RS232C communications handshaking
control is selected, the printer transmits the one byte
response only when the host signal DSR indicates it is
ready to receive data.
When XON/XOFF RS232C communications handshaking
control is selected, the printer transmits the one byte
response regardless of the host signal DSR.
The status bytes to be transmitted are described in the
three tables on the next page.
Exceptions
Unlike the A793, that had a dedicated connector and
resultant dedicated status reporting for each cash drawer,
the A795 has a single connector that shares data reporting
from either cash drawer. When either cash drawer is open,
an open status is reported by the printer.
Содержание 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...