![TransAct POSJET 1500 Скачать руководство пользователя страница 198](http://html1.mh-extra.com/html/transact/posjet-1500/posjet-1500_programmers-manual_1150636198.webp)
Codes and Commands
POSjet
®
1500
Programmer's Guide
Page 184
Rev M
Nov-07
Function
Inquire all Printer Status
ASCII
[ENQ] <20>
Hexadecimal
05H 14H
Decimal
<5> <20>
Function
The [ENQ] <20> command returns all status flags
Response
[ACK] <20> <n> <r
1
> <r
2
>…
Where
<20> is the echo of command ID.
<n>
is the number of return bytes + 40
(28H) (to prevent confusion with XON/XOFF)
<r
1
>:
bit 0 = Cash Drawer 1 is open.
bit 1 = Cash Drawer 2 is open
bit 2 = Receipt paper is out.
bit 3 = Slip detected
bit 4 = Receipt paper error occurred. (low or out)
bit 5 = Slip loaded
bit 6 = 1 always
bit 7 = 0 always
<r
2
>:
bit 0 = 1 always
bit 1 = Cover is closed.
bit 2 = Buffer is empty.
bit 3 = Printer has been power cycled,
Reading this does not affect the state of the power-cycled flag.
(Use [ENQ] <11> to reset the power cycled bit.)
bit 4 = Printer is waiting in an error mode.
Use [ENQ]<22> to identify the specific error and [ENQ]<10> to recover
bit 5 = 0
bit 6 = 1 always
bit 7 = 0 always
<r
3
>:
bit 0 = Receipt station selected
bit 1 = Top validation station selected
bit 2 = Undefined
bit 3 = Waiting for form
bit 4 = Undefined
bit 5 = Printer is blocking print (Cover is open or out of paper.)
bit 6 = 1 always
bit 7 = 0 always
<r
4
>:
bit 0 = Printer supports receipts.
bit 1 = Printer supports inserted forms.
bit 2 = Printer supports multiple colors
bit 3 = Printer supports cutter.
bit 4 = Printer supports partial cuts.
bit 5 = 0
bit 6 = 1 always
bit 7 = 0 always
<r
5
>:
Percentage of ink remaining on cartridge 1 (0-100) + 40 (28H)
<r
6
>:
Percentage of ink remaining on cartridge 2 (0-100) + 40 (28H)
<r
7
>:
Current multi-head alignment (0-16, 8 = 0 offset)
Содержание POSJET 1500
Страница 1: ...PROGRAMMER S GUIDE POSjet 1500 PN 20 03398 Rev M Nov 2007...
Страница 14: ......