A795 User Guide: Programming Supplement
Chapter 4: Programming commands
75
Transmit peripheral device status (RS-232C printers only)
ASCII
ESC u 0
Hexadecimal
1B 75 0
Decimal
27 117 0
Value of returned byte:
Bit 0
Bit 1
1 = Drawer 1 Closed
1 = Drawer 2 Closed
0 = Drawer 1 Open
0 = Drawer 2 Open
Bits 2-7 are not used.
Transmits current status of the cash drawers. One byte is
sent to the host computer. In DTR/DSR protocol, the
printer waits for DSR = SPACE. If a drawer is not
connected, the status will indicate it is closed.
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.
Related information
In TM-T88 emulation, this command is ignored.
Request alternate status (A793 emulation only)
ASCII
ESC u n
Hexadecimal
1B 75 n
Decimal
27 117 n
Value and Range of n:
Value of n Function
Description
00
Drawer 1
High = Open
Low = Closed or Not
Present
01
Drawer 2
High = Open
Low = Closed or Not
Present
02
Paper Low
High = Paper Out
(Not Implemented.
Low = Paper Present
Interpreted as
Paper Out.)
03
Paper Out (Default)
High = Paper Out
Low = Paper Present
>03
Ignored, No Change Printer Does
Not Stay BUSY
1
1
PAPER EXHAUST LINE is valid to indicate previously
requested status.
This command allows the printer to inform the host when
the data in the buffer has been processed. The PAPER
EXHAUST line shows the status for the cash drawer or
receipt paper as shown in the table.
Status information is limited to what can be sent by the
dedicated lines: BUSY, ACK, PAPER EXHAUST, and
FAULT.
Содержание 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...