7197 Owner’s Guide Chapter 6: Commands
November 2002
127
Transmit Peripheral Device Status
ASCII: ESC u 0
Hexadecimal: 1B 75 0
Decimal:
27 117 0
Bit 0 Bit 1
Return Value:
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.
Example:
• MSComm1.Output = Chr$(&H1B) & Chr$(&H75) & Chr$(&H0)
Transmit Printer Status
ASCII:
ESC v
Hexadecimal:
1B 76
Decimal:
27 118
Sends status data to the host computer. The printer sends one byte to the host computer
when it is not busy or in a fault condition. In DTR/DSR protocol, the printer waits for DSR
= SPACE.