Epson A794-D100 Printer User Manual


 
Chapter 6: Programming Information A794 Owner’s Guide
March 199988
Request Alternate Status (parallel printers only)
This command allows the printer to inform the host when the data in the buffer has
been processed. When this command is sent to the printer, the printer goes “Busy” until
all data which has been sent to the printer 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.
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 (Not Implemented.
Interpreted as Paper Out.)
High = Paper Out
Low = Paper Present
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.
Transmit Peripheral Device Status (RS-232C printers only)
Transmits current status of the cash drawers on one byte. If a drawer is not connected,
the status will indicate it is closed.
ASCII ESC u 0
Hexadecimal 1B 75 0
Decimal 27 117 0
Value of returned byte
Bit 1 Signifies 0 Signifies
0 Drawer 1 & 2 Closed Drawer 1 or 2 Open
1 Drawer 1 & 2 Closed Drawer 1 or 2 Open
Bits 2-7 are not used.