7167 Owner’s Manual Chapter 6: Commands
November 2003
177
Real Time Status Transmission
GS Sequence
DLE Sequence
ASCII: GS EOT n DLE EOT n
Hexadecimal: 1D 04 n 10 04 n
Decimal:
29 4 n 16 4 n
Value of n:
GS/DLE Sequence
1 = Transmit printer status
2 = Transmit RS-232C busy status
3 = Transmit error status
4 = Transmit receipt paper status
5 = Slip paper status
Transmits the selected one byte printer status specified by n in Real Time according to the
following parameters. This command includes two sequences: GS and DLE and using
either or will produce the same result.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H04) & Chr$(n)
Exceptions:
The command is ignored if n is out of range.
An application using the DLE sequence must send EOT within 100 milliseconds of DLE or
the printer will misinterpret the DLE and execute a Clear Printer command. Avoid this
possibility by using the 1D 04 n sequence, which is handled exactly the same as 10 04 n.