Specifications

Codes and Commands POSjet
®
1500 Programmer's Guide
Page 182 Rev N Nov-10
Function Request Printer Reset
ASCII [ENQ] <10>
Hexadecimal 05H 0AH
Decimal <5> <10>
Function Reset printer
Response Serial Parallel
ACK <10> (06H 0AH) No response
The command was accepted.
NAK <10> (15H 0AH)
The command was rejected.
Description The ENQ <10>, EPOS DLE ENQ <n> commands and the INIT pin all have the same effect and
are referred to as reset commands. To prevent data loss, the printer tries to finish printing the
buffered data. When operator intervention with the printer is required for any reason, data loss
results. The reset operation is saved until the printer goes idle. In the case of a slip request
command or any command that waits for the operator, the printer is idle. If the printer is idle and
a reset command is received or pending, the printer resets, and the buffer clears. If the host resets
an operator intervention operation, any remaining buffered data is cleared.
When the printer receives a reset command, the printer goes off line and/or busy until the reset
completes. In serial mode, the printer may have information in its high-speed buffer that was
received after the reset command but before the reset was processed. If the host application
continues to send information to the printer after a reset command, some of that information may
be processed before the reset is processed. In parallel mode, the printer goes busy after the reset is
received but before the next byte is accepted. The printer accepts an [ENQ] <10> in parallel
mode. It, however, is not acknowledged. If both the serial and parallel ports are active, the serial
reset is not acknowledged either because the reset operation removes the parallel response. In
IEEE 1284 mode, the response buffer is cleared by a reset command, which prevents responses in
IEEE 1284 mode as well.
Note 1 If reset inhibit is set in the configuration menu, the command is ignored.
Function Inquire Power Cycle Status
ASCII [ENQ] <11>
Hexadecimal 05H 0BH
Decimal <5> <11>
Function Has the printer been power cycled since the last request?
Response ACK <11> (06H 0BH)
Printer has been power cycled since the last [ENQ] <11>
NAK <5> (15H 0BH)
Printer has not power cycled since the last [ENQ] <11>
Description The first time after a reset, the command returns [ACK] <11>, after that the command returns
[NAK] <11>. The 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 both cause the printer to return power up status.