TransAct POSjet 1500 Programmer's Manual page 197

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

Advertisement

Programmer' s Guide
Function
Inquire Mechanical Error Status
ASCII
[ENQ] <14>
Hexadecimal
05H 0EH
Decimal
<5> <14>
Function
Error status
Response
ACK <14> (06H 0EH)
NAK <14> (15H 0EH)
Note:
For this status request to function, the "Buffer Full Only" off line option should be selected.
Function
Inquire Printer State
ASCII
[ENQ] <15>
Hexadecimal
05H 11H
Decimal
<5> <15>
Function
The [ENQ] <15> command returns the current printer state
Note
[ENQ] <17> also returns the current printer state, but it should not be used as it conflicts with
XON/XOFF flow control.
Response
[ACK] <15> <n> <r
Where
<15>
<n>
is the number of return bytes + 40 (28H)
(to prevent confusion with XON/XOFF).
<r
>:
bit 0 = 1 always
1
bit 1 = Cover is closed.
bit 2 = Receipt paper is out.
bit 3 = 0
bit 4 = Printer is waiting in an error mode.
bit 5 = 0
bit 6 = 1 always
bit 7 = 0 always
<r
>:
bit 0 - 5 = 0 always
2
bit 6 = 1 always
bit 7 = 0 always
Note:
For this status request to function, the "Buffer Full Only" off line option should be selected.
Nov-07
POSjet
No Mechanical Errors
Mechanical Error Has Occurred (Use [ENQ]<22> to identify the error)
> <r
>...
1
2
is the echo of the command ID.
Use [ENQ]<22> to identify the specific error and [ENQ]<10> to recover
Rev M
®
1500
Codes and Commands
Page 183

Advertisement

Table of Contents
loading

Table of Contents