CODES (HEX/CONTROL): <10> <04> <n> / {DLE} {EOT} n
NAME: Real-time status transmission
FUNCTION: Transmits the selected printer status in real time
RNAGE: 1 ≤n ≤4
EXPLANATION:
1. The parameter nspecifies content group of printer status to be transmitted as
below.
n= 1: Transmit printer status
n= 2: Transmit off-line status
n = 3: Transmit error status
n= 4: Transmit paper sensor status
2. The printer transmits the current status as specified by n. Each status is
represented by one-byte data.
3. If the value of nis out of the specified range (1≤n ≤4), This command is
ignored.
4. The printer transmits the status regardless of the handshaking condition of the
host computer.
5. The printer executes this command upon receiving it regardless of
unprocessed data in receive buffer.
6. This command executes with a serial interface model even when the printer is
off-line, when the receive buffer is full, or when there is an error status.
7. With a parallel interface model, when DIP switch position 4 (or 1 - 4) is set to
OFF this command can only be executed when the printer is under normal
status (on line, no error, not busy). When DIP switch position 4 (or 1 – 4) is set
to ON, this command can not be executed when the printer is busy but can be
executed when the printer is off-line or there is an error status.
8. The status is transmitted whenever the data sequence of <10>h <04>h <n>
(1≤n ≤4) is received even when this sequence is in fact part of data in other
command. However, that command containing this data sequence still works
when it takes its turn in printer processing queue.
Example: In ESC * m nL nH d1…dk, d1=<10>h, d2=<04>h, d3=<01>h
9. This command should not be used when the printer is processing data
sequence of another command that consists of 2 or more bytes.
Example:
If the printer is going to execute {ESC} 3 nby retrieving it from input buffer,
DTR (DSR for the host computer) goes to MARK (busy) before nis retrieved,
Command Manual - Page 7