TransAct Epic 3000 Programmer's Manual page 172

Table of Contents

Advertisement

Programming Codes
Response
ACK <9> (06H 09H) The buffer is empty.
NAK <9> (15H 09H) The buffer is not empty.
[ENQ] <10>
Request printer reset
ASCII
[ENQ] <10>
Hexadecimal 05H 0AH
Decimal
<5> <10>
Function
Reset printer
Response
Serial
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.
When the printer processes 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.
In USB mode the USB link is not affected by the reset. Any data sent to the printer after
the reset and before the printer completes the reset may be lost however the USB link
will acknowledge all packets.
Note: If reset inhibit is set in the configuration menu, this command is
ignored.
[ENQ] <11>
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>
Page 172
Parallel
Rev A
T480 Programmer's Guide
100-14362

Advertisement

Table of Contents
loading

Table of Contents