Programming Codes
T480
Programmer’s Guide
Page
164
Rev A
100-14362
[CAN]
Clear print buffer
ASCII
[CAN]
Hexadecimal
18H
Decimal
<24>
IPCL
&%RP
EPOS
[CAN]
Description
The [CAN] command clears the print buffer and any unprinted information
in the printer received before it. If the input buffer is not being processed because the
printer is out of paper or a form is not inserted, the [CAN] command will not be
processed until after the error is cleared. The [CAN] command does not restore default
conditions; it only clears the print buffer.
[ESC] q
Query marker
ASCII
[ESC] q <n>
Hexadecimal
1BH 71H <n>
Decimal
<27> <113> <n>
IPCL
none
EPOS
none
Description
The [ESC] q <n> command returns a status to the host when it is
processed.
Response
[SOH] <n>
The [ESC] q <n> command may be placed in the print data and, when processed
by the printer, will return a progress status marker. The value of <n> can be any 8-bit
value. It is returned to the host unaltered. The intent is for it to be a sequence number.
The command can be used to track the print progress of the printer or verify that data
has been printed.
Note:
The [ESC] q <n> command is a line terminator that causes the
printer to print all previous data. If a normal line terminator like a [CR] is
not supplied, right justify and auto-center do not function correctly. All
data is left justified. [ESC] q does not perform a [CR] or [LF] function.