Intermec PK80 Printer User Manual


 
OperationChapter 2
24 PK80 Series 80-Column U ser’s Manual
Print Job Status Report
This simple protocol assures that data delivered to the printer is printed
without mechanical error. Each print job to be monitored begins with an
“ESC s n” command, where the “ESCs” marks the start of the print job,
and bit f ields within “n” specify the level of error reporting. The end of
the print job is marked by an “ESC e” command.
Note: Spaces are not part of the actual sequences. They are only included
here for readability.
Once the print job status is enabled, any detection of a requested condi-
tion (see the definition of “n” below) is reported immediately, without the
need to query the printer. The printer will send the same string that results
from receipt of a status command (ESC{ST?}). In addition, if requested,
the printer will automatically send the status when the last print line or
FormFeed within the start/end markers is complete.
S ESC s n Start of print job (0x1B 0x73 n)
Settoreportstatusatendofjob
Settoreportpaperout
Settoreportprintheadjam
Set to report when paper is present after paper out
Settoreporttimeoutduringprint
Settoreportfwd/revkeypressesduringprint
Must be zero (reserved)
Note:Ann of all zeroes (0x00) will cancel any active auto status messages
set by a previous ESC s n without an ESC e.
S ESC e End of print job (0x1B 0x65)
Response is identical to the status command with Paper Jam and Print Sta-
tus fields added. Status can still be requested by sending the usual sequence
(ESC{ST?}). See Appendix A, Commands, for information.
Timing Out
When a time out occurs (ESC{BLI}), a status request is sent indicating the
printer has timed out. The current print buffer is flushed, and subsequent
automatic reporting is cancelled.
The printer will not time out if the sixth bit is set (cancel timeou t) when
the ESC s n command is sent to mark the beginning of the print job. If
the job has completed printing and the printer is idle, then pressing the
Forward button on the control panel will not send the “print job kill”
message, since there is nothing in the print buffer.
However, pressing both the Forward and Reverse buttons to turn the
printer off will generate the printer off message.