Programmer's Guide
PcOS Series 90PLUS
Printer Control Codes
Printer Status Set/Inquire
11/07/05
Rev Q
Page 87
Function
Inquire printer state
ASCII
[ENQ]<15>
Hexadecimal
05H 11H
Decimal
<5> <15>
Function
Returns current printer state
Serial/Parallel, IEEE 1284
Parallel, non-IEEE 1284
Response
[ACK]<15><n><r1><r2>…
not supported via PE
Where <15> is the echo of command ID
n = number of return bytes + 40 (28H)
(to prevent confusion with XON/XOFF).
<r1>:
Bit 0 = Form clamp closed
Bit 1 = Cover closed
Bit 2 = Receipt paper out
Bit 3 = Front slip sensor detects paper
Bit 4 = In error state (Waiting for error to be cleared)
Bit 5 = Top form sensor detects paper.
Bit 6 = 1 always
Bit 7 = 0 always
<r2>:
Form processing state
040H No form processing
042H Waiting for a slip or for a slip to be cleared
044H Waiting to enter validation mode or waiting for the
paper path to be cleared to enter validation mode
046H Waiting for a slip to be removed to enter receipt
mode
041H Waiting for the slip path to be cleared
043H Slip mechanism in error mode (autoclears)
045H Waiting for an internal delay time out (autoclears)
048H MICR process starting (autoclears)
049H MICR waiting for a check to be inserted
04AH MICR reading the check (autoclears)
04BH MICR translating the MICR data (autoclears)
04FH MICR process in error (requires operator intervention
to clear)
Other states may be active but will automatically be cleared.
Note
[ENQ] <17> is valid for this function but should not be used as it conflicts
with XON/XOFF flow control.
Содержание Ithaca 90PLUS Series
Страница 1: ...P OS c SERIES 90PLUS Receipt Validation Journal Printers PROGRAMMER S GUIDE Rev M PN 100 7586 REV Q...
Страница 2: ...Page ii Rev Q 11 07 05...
Страница 12: ......
Страница 162: ...Printing Graphics PcOS Series 90PLUS Programmer s Guide Page 150 Rev Q 11 07 05 CR LF Finish the form...