NCR 7167 Owner's Manual page 174

Two station pos printer release 1.0
Hide thumbs Also See for 7167:
Table of Contents

Advertisement

7167 Owner's Manual
Transmit Peripheral Device Status
Hexadecimal:
Return Value:
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)
152
ASCII:
ESC u 0
1B 75 0
27 117 0
Decimal:
Bit 0
1 = Drawer 1 closed
0 = Drawer 1 open
(Bits 2-7 are not used)
Bit 1
1 = Drawer 2 closed
0 = Drawer 2 open
November 2002
Chapter 6: Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents