TransAct POSjet 1500 Programmer's Manual page 198

Transact posjet 1500: software guide
Hide thumbs Also See for POSjet 1500:
Table of Contents

Advertisement

Codes and Commands
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
Where
<20>
<n>
is the number of return bytes + 40
(28H) (to prevent confusion with XON/XOFF)
<r
>:
bit 0 = Cash Drawer 1 is open.
1
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
>:
bit 0 = 1 always
2
bit 1 = Cover is closed.
bit 2 = Buffer is empty.
bit 3 = Printer has been power cycled,
bit 4 = Printer is waiting in an error mode.
bit 5 = 0
bit 6 = 1 always
bit 7 = 0 always
<r
>:
bit 0 = Receipt station selected
3
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
>:
bit 0 = Printer supports receipts.
4
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
>:
Percentage of ink remaining on cartridge 1 (0-100) + 40 (28H)
5
<r
>:
Percentage of ink remaining on cartridge 2 (0-100) + 40 (28H)
6
<r
>:
Current multi-head alignment (0-16, 8 = 0 offset)
7
Page 184
POSjet
> <r
>...
1
2
is the echo of command ID.
Reading this does not affect the state of the power-cycled flag.
(Use [ENQ] <11> to reset the power cycled bit.)
Use [ENQ]<22> to identify the specific error and [ENQ]<10> to recover
Rev M
®
1500
Programmer' s Guide
Nov-07

Advertisement

Table of Contents
loading

Table of Contents