Star Micronics 150 User Manual

Page of 151
Programmer's Guide
PcOS Series 150
Control Codes
 
Printer Status Set/Inquire
12/14/99
Rev G
Page 63
Function
Inquire form position sensor status
ASCII
[ENQ] <6>
Hexadecimal
05H 06H
Decimal
<5> <6>
Function
Is the form position sensor detecting a form?
Serial/Parallel, IEEE 1284
Parallel, non-IEEE 1284
Response
ACK <6> (06H 06H) 
PE low
The position sensor is clear.
(No form present.)
NAK <6> (15H 06H)
PE high
The form position sensor is
blocked. (There is a form.)
Function
Inquire form clamp status
ASCII
[ENQ] <7>
Hexadecimal
05H 07H
Decimal
<5> <7>
Function
Inquire whether the form clamp is closed
Serial/Parallel, IEEE 1284
Parallel, non-IEEE 1284
Response
ACK <7> (06H 07H)
PE low
The clamp is closed.
NAK <7> (15H 07H)
PE high
The clamp is not closed.
(It is open or in jam position.)
Function
Is the buffer empty? Clear IEEE 1284 buffer.
ASCII
[ENQ] <9>
Hexadecimal
05H 09H
Decimal
<5> <9>
Function
This command allows the host to know when the print buffer is
empty. If IEEE 1284 is active, this command also clears the
response buffer.
Serial/Parallel, IEEE 1284
Parallel, non-IEEE 1284
Response
ACK <9> (06H 09H) 
PE low
The buffer is empty.
NAK <9> (15H 09H)
PE high
The buffer is not empty.