Real-Time Requests
RS-232 Syntax:
DLE ENQ mor X'1005:n'
where:
mSpecifies the ASCII command character
nSpecifies 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: Astatus message is returned immediately after
execution of this command.
3 33 Undefined.
4 34 EC request - transmit printer status. Sends the printers
status to the system. This command does not go into the
printers data buffer but is processed immediately.
The printer status is returned in status bytes 18. See
Status Summaryon page160 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: Astatus message is returned immediately after
execution of this command.
B 42 Disable unsolicited status
C 43 Disable transparent XON/XOFF
Purpose:
Toprocess a command immediately.
Remarks:
Either the Release print buffer or the Cancel print buffer command must be
used in these situations:
vWhen recovering from a cash receipt print error
vAfter clearing an unrecoverable home error
updated March 18, 2002
156 SureMark DBCS Users Guide