Status Query; Status Reply Explanation - Oneil microFlash2 Programming Reference Manual

Table of Contents

Advertisement

Status Query

Status Query
Query Format
ESC{ST?}
Reply Format
{ST!E:x;S:x;L:x;P:x;J:x;R:x;B:x;H:x}
Function
Returns information about the ability of the printer to print
the next image and reports any errors from the last print
request (for example, paper condition, command errors,
buffer size and battery voltage).
Note: If Job Status reporting is on, the printer automatically
generates the Status query reply and sends it to the host.
Reply Example
{ST!E:N;S:I;L:D;P:P;J:N;R:62;B:O,H:O}
Reply Example
ST! - Reply to a status query.
Explanation
E:N; - There are no errors.
S:I; - The printer is idle.
L:D; - The paper release lever is down, ready to print.
P:P; - Paper is present.
J:N; - There is no head jam.
R:62; - 62K bytes remain in the input buffer.
B:O; - Acceptable battery voltage and temperature.
H:O; - Printhead temperature in acceptable range.

Status Reply Explanation

Query
Reply
Definition
E
N
N = No error*. For radio ready 2t/3l/4t printers, fixed as "N."
E
c
c = Command error/invalid command
E
d
d= Data error (for example, an alpha character in a numeric-
only bar code)
E
f
f = Font not available
E
g
g = Global parameter error
E
o
o = Overrun buffer*
E
p
p = Field parameter error
E
q
q = Qmark not found*
E
r
r = Row/column error
E
s
s = Syntax error
S
C
C = Complete
S
I
I = Idle
S
K
K = Key pressed to cancel print job (available in Job Status
only)
Chapter 4: Querying the Printer
O'Neil Programming Language Reference Manual
43

Advertisement

Table of Contents
loading

Related Products for Oneil microFlash2

Table of Contents