beautypg.com

Status query, Querying the printer – Datamax-O'Neil microFlash 2te Quick Reference Programming Guide User Manual

Page 47

background image

Querying the Printer

43

Datamax-O’Neil Quick Reference Programming

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

Explanation

ST! - Reply to a status query.

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.

This manual is related to the following products: