TransAct Technologies ITHERM 280 User Manual
Page 178

Programming Codes
iTherm
®
280 Programmer’s Guide
Page 176
Rev C
28-07764
[ENQ] <20> 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> 1 > 2 >… <20> is the echo of command ID. is the number of return bytes + 40 1 >: bit 0 = Cash Drawer 1 is open. 2 >: bit 0 = 1 always 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 3 >: bit 0 = 1 always (Receipt Station) 4 >: bit 0 = Printer supports receipts. 5 >: Percentage of ink remaining on Head 1 (0-100) + 40 (28H) 6 >: Percentage of ink remaining on Head 2 (0-100) + 40 (28H) 7 >: Current multi-head alignment (0-16, 8 = 0 offset)
Where
(28H) (to prevent confusion with XON/XOFF).
bit 1 = Cash Drawer 2 is open
bit 2 = Receipt paper is out.
bit 3 = 0
bit 4 = Receipt paper error occurred. (low or out)
bit 5 = 0
bit 6 = 1 always
bit 7 = 0 always
bit 1 = Cover is closed.
bit 2 = Buffer is empty.
bit 3 = Printer has been power cycled,
bit 6 = 1 always
bit 7 = 0 always
bit 1 = 0
bit 2 = 0
bit 3 = 0
bit 4 = Undefined
bit 5 = Printer is blocking print (Cover is open or out of paper.)
bit 6 = 1 always
bit 7 = 0 always
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