TransAct Ithaca 280 Programmer's Manual page 184

Thermal receipt printer
Table of Contents

Advertisement

Programming Codes
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: 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>
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.
[ENQ] <14>
Inquire Mechanical error status
ASCII
[ENQ] <14>
Hexadecimal 05H 0EH
Decimal
<5> <14>
Function
Error status
Response
ACK <14> (06H 0EH)
NAK <14> (15H 0EH)
Note: For this status request to function, the "Buffer Full Only" off-line
option should be selected.
Page 172
iTherm
No mechanical errors
Mechanical error has occurred
(Use [ENQ]<22> to identify the error)
Rev K
®
280 Programmer's Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents