Transmit Status - NCR 7158 Owner's Manual

Thermal receipt and impact printer
Table of Contents

Advertisement

7-96 Chapter 7: Programming Guide

Transmit Status

ASCII:
Hexadecimal:
Decimal:
Value of n:
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.
When Auto Status Back (ASB) is enabled using the Enable/Disable
Automatic Status Back command (1D 61), the status transmitted by this
command (Transmit Status) and the ASB status must be differentiated
according to the information found in Recognizing Data from the
Printer. This is found in the Real Time Commands section of this
document.
The status bytes to be transmitted are described in the following four
tables.
GS r n
1D 72 n
29 114 n
1, 49 = printer status
2, 50 = cash drawer status
3, 51 = slip paper status
4, 52 = Flash Memory status

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents