Classification: Avery Dennison – Public
Status Polling
7-1
S TAT U S P O L L I N G
This c hapter explains how to us e s tatus polling.
There are two types of Status Polling:
♦
Inquiry Reques t—inform ation about the readines s of the printer.
♦
Job Reques t—inform ation about the c urrent (or las t rec eived) job downloaded to the printer.
I nqu i ry R eques t ( E N Q)
An ENQ c harac ter ac ts as a reques t for printer s tatus inform ation. Send an ENQ in front of, in
the m iddle of, or im m ediately following any pac ket downloaded to the printer. An ENQ is a
c om m and that c an be exec uted as part of a pac ket or s ent on its own (us ing a c om m unic ations
program ). An ENQ is proc es s ed im m ediately. The ENQ c harac ter is us er defined.
The ENQ c harac ter does not appear as a vis ible c harac ter; however, this m anual repres ents the
ENQ c harac ter as
.
Inquiry Response
Printer s tatus is returned to the hos t in a 3-byte (3-c harac ter) s equenc e. The firs t byte is the
non-printable us er-defined ENQ c harac ter, whic h is not vis ible on the res pons e. The s ec ond and
third bytes are printer s tatus c odes . See the ENQ Referenc e Tables for the m eaning of bytes 2
and 3.
Exam ple:
AB
The s tatus c odes (A and B in this c as e) are ASCII equivalents to the hexadec im al bits that
repres ent the various types of s tatus res pons es . This res pons e indic ates that the printer is
online (Charac ter A) and that there is a s toc k fault (Charac ter B).
Exam ple:
? ?
Indic ates that this is the firs t ENQ res pons e s inc e the printer was turned on. Send another ENQ
im m ediately to rec eive the printer’s s tatus .
Exam ple:
@@
Indic ates the printer is offline.
The following graphic s c an be us ed as a quic k referenc e for the Status of Byte #2 and Byte #3.
Byte #1 is the non-printable us er-defined ENQ c harac ter.
7
Summary of Contents for Monarch Tabletop Printer 2
Page 10: ...viii Packet Reference Manual Classification Avery Dennison Public...
Page 16: ...1 6 Packet Reference Manual Classification Avery Dennison Public...
Page 48: ...2 32 Packet Reference Manual Classification Avery Dennison Public...
Page 80: ...3 32 Packet Reference Manual Classification Avery Dennison Public...
Page 102: ...4 22 Packet Reference Manual Classification Avery Dennison Public...
Page 138: ...7 10 Packet Reference Manual Classification Avery Dennison Public...
Page 156: ...8 18 Packet Reference Manual Classification Avery Dennison Public...
Page 160: ...9 4 Packet Reference Manual Classification Avery Dennison Public...
Page 196: ...C 8 Packet Reference Manual Classification Avery Dennison Public...
Page 202: ...D 6 Packet Reference Manual Classification Avery Dennison Public...
Page 205: ......