Ithaca 150 Programmer's Manual page 74

Receipt/validation/journal printers
Table of Contents

Advertisement

Control Codes
Printer Status Set/Inquire
Function
ASCII
Hexadecimal
Decimal
Function
Response
Description
Function
ASCII
Hexadecimal
Decimal
Function
Response
Description
Page 64
PcOS Series 150
Request printer reset
[ENQ] <10>
05H 0AH
<5> <10>
Reset printer
Serial
ACK <10> (06H 0AH)
The command was accepted.
NAK <10> (15H 0AH)
The command was rejected.
This command is similar to asking for a power-on reset except no
internal diagnostics are run. The internal print buffer will be cleared.
The printer will be ready to except new information when the
acknowledged (ACK) response is sent. In parallel mode, the INIT
signal should be used because this command will be rejected. (In
serial/parallel mode, the command will also be rejected).
Inquire power cycle status
[ENQ] <11>
05H 0BH
<5> <11>
Has the printer been power cycled since the last request?
Serial/Parallel, IEEE 1284
ACK <11> (06H 0BH)
Printer power has been cycled
since last [ENQ] <11>.
NAK <5> (15H 0BH)
Printer has not power cycled
since last [ENQ] <11>.
The first time after a reset this command will return [ACK] <11>, after
that the command will return [NAK] <11>. This command allows the
application to determine if the printer has been power cycled and needs to
be reinitialized. The [ENQ] <10> command and the INIT signal on the
parallel port will both cause the printer to return power-up status.
Rev G
Programmer's Guide
Parallel mode
No response in parallel mode.
Parallel, non-IEEE 1284
PE low
PE high
12/14/99

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcos 150 series151152153154

Table of Contents