Real-Time Requests
RS-232 Syntax:
DLE ENQ m or X'1005:n'
where:
m Specifies the ASCII command character
n Specifies the hexadecimal command character
m n Description
1 31 Release the print buffer for printing. This should be sent
after an error has occurred and the print buffer is held. If
an error occurred during the transaction that was being
held, the printer sends back the line number with the error
and the error status. The system can then decide to cancel
or continue printing after the error is corrected. The system
uses this command to continue printing after the error is
corrected.
2 32 Cancel print buffer. This clears the print buffer of all data.
In RS-232 mode, the user must wait for buffer empty
status (status byte 2, bit 6) before sending any more
commands.
Note: A status message is returned immediately after
execution of this command.
3 33 Undefined.
4 34 EC request - transmit printer status. Sends the printer’s
status to the system. This command does not go into the
printer’s data buffer but is processed immediately.
The printer status is returned in status bytes 1–8. See
“Status Summary” on page 160 for more information.
Status byte 5, bit 1, will be set after the EC request has
been executed.
5-8 35-38 Undefined
@ 40 Reset the printer. The printer stops what it is doing and
goes through its reset routine. The print buffer is canceled
and all commands erased. All printer settings go back to
default values.
A 41 Enable unsolicited status.
Note: A status message is returned immediately after
execution of this command.
B 42 Disable unsolicited status
C 43 Disable transparent XON/XOFF
Purpose:
To process a command immediately.
Remarks:
Either the Release print buffer or the Cancel print buffer command must be
used in these situations:
v When recovering from a cash receipt print error
v After clearing an unrecoverable home error
updated March 18, 2002
156 SureMark DBCS User’s Guide