Programming Codes
iTherm
®
280
Programmer’s Guide
Page 170
Rev K
IEEE 1284 Mode Inquire
In parallel, IEEE 1284 mode, status information can be returned to the host through the
IEEE 1284 reverse channel. After the host makes an inquire request, it activates IEEE
1284 mode 0 reverse channel and waits for a response from the printer. The response to
the inquire is identical to serial mode in format.
The printer always accepts IEEE 1284 reverse-channel requests but does not accept
inquire commands when off-line. It is possible to obtain status when off-line by placing
the printer in dynamic response mode before the printer goes off-line. The IEEE 1284
reverse channel responds to status changes even when the printer is off-line.
In general,
the printer should be configured for ―Buffer Full Only‖ off-line operation if
inquire commands are used. This prevents the printer from using flow control for
anything but buffer full. The programmer must take on the responsibility for assuring that
inquire commands are used to maintain status of the printer.
Inquire Commands
[ENQ]
Inquire printer status
ASCII
[ENQ] <n>
Hexadecimal
05H <n>
Decimal
<5> <n>
IPCL
none
EPOS
[GS] r or [DLE] [ENQ] or [DLE] [EOT]
Description
The [ENQ] <n> command inquires about the printer‘s status and returns a
result.
Note:
When the printer is off-line, inquires may not be accepted.
[ENQ] <1>
Inquire Cash Drawer 1 status
ASCII
[ENQ] <1>
Hexadecimal
05H 01H
Decimal
<5> <1>
Function
Cash Drawer 1 Status
Response
ACK <1> (06H 01H) Cash Drawer 1 is closed.
NAK <1> (15H 01H) Cash Drawer 1 is open.
Cash drawer status is defined as open circuit being drawer closed.
[ENQ] <3>
Inquire receipt paper low status
ASCII
[ENQ] <3>
Hexadecimal
05H 03H
Decimal
<5> <3>
Function
Receipt paper low
Response
ACK <3> (06H 03H) Receipt paper is present.
NAK <3> (15H 03H) Receipt paper is low.
Содержание Ithaca 280
Страница 1: ...iTherm 280 Programmer s Guide PN 28 04430 Rev K APRIL 2011...
Страница 2: ...Page intentionally left blank...
Страница 12: ...Page x Rev K...
Страница 13: ...28 04430 Rev K Page 1 chapter 1 Introducing your iTherm 280 Printer...
Страница 14: ...Page 2 Rev K...
Страница 20: ......
Страница 21: ...28 04430 Rev K Page 9 chapter 2 iTherm 280 Specifications and Requirements...
Страница 22: ...Page 10 Rev K...
Страница 41: ...28 04430 Rev K Page 29 chapter 3 Setup Procedures...
Страница 42: ...Page 30 Rev K...
Страница 50: ......
Страница 51: ...28 04430 Rev K Page 39 chapter 4 How to Operate the iTherm 280 Printer...
Страница 52: ...Page 40 Rev K...
Страница 60: ......
Страница 61: ...28 04430 Rev K Page 49 chapter 5 Configuring Your iTherm 280 Printer...
Страница 62: ...Page 50 Rev K...
Страница 68: ......
Страница 69: ...28 04430 Rev K Page 57 chapter 6 Programming Codes...
Страница 70: ...Page 58 Rev K...
Страница 250: ......
Страница 251: ...28 04430 Rev K Page 239 chapter 7 iTherm 280 Color Graphics...
Страница 252: ...Page 240 Rev K...
Страница 267: ...28 04430 Rev K Page 255 chapter 8 Unicode...
Страница 268: ...Page 256 Rev K...
Страница 272: ......
Страница 273: ...28 04430 Rev K Page 261 chapter 9 iTherm 280 Extended Printer Control...
Страница 274: ...Page 262 Rev K...
Страница 280: ......
Страница 281: ...28 04430 Rev K Page 269 chapter 10 Communications...
Страница 282: ...Page 270 Rev K...
Страница 306: ......
Страница 310: ......
Страница 312: ......