Control codes pcos series 150 programmer's guide – Star Micronics 150 User Manual
Page 66

Control Codes
PcOS Series 150
Programmer's Guide
Miscellaneous Control
Page 56
Rev G
12/14/99
Function
Query marker
ASCII
[ESC] q <n>
Hexadecimal
1BH 71H <n>
Decimal
<27> <113>
IPCL
none
EPOS
none
Function
Return status to host
Serial/IEEE1284
Parallel, non-IEEE 1284
Response
[SOH] <n>…
Not supported via PE
Description
This command can 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. This command can be used to track the print progress of
the printer or verify that the data has been printed.
Note: This 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 autocenter will not function correctly. All data will be left
justified. [ESC] q does not perform a [CR] or [LF] function.