Programmer's Guide
POSjet
®
1500
Codes and Commands
Nov-07
Rev M
Page 173
Miscellaneous Commands
General Control
Function
Disable Paper Out Sensor
ASCII
[ESC] 8
Hexadecimal
1BH 38H
Decimal
<27> <56>
IPCL
&%PF
EPOS
none
Description
The [ESC] 8 command temporarily disables the paper out sensor. The printer does not stop
printing or go off line when it senses it is out of paper. The inquire commands still return paper
out status.
Function
Enable Paper Out Sensor
ASCII
[ESC] 9
Hexadecimal
1BH 39H
Decimal
<27> <57>
IPCL
&%PO
EPOS
none
Description
The [ESC] 9 command enables paper sensing and is intended to reverse the effect of the disable
paper out sensor command. If the printer is out of paper when the command is issued, it goes off
line.
Function
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.
Function
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. When it is 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 1
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.
Summary of Contents for POSJET 1500
Page 1: ...PROGRAMMER S GUIDE POSjet 1500 PN 20 03398 Rev M Nov 2007...
Page 14: ......