Specifications
DATAPROCESS EUROPE S.p.A.
ST3xx ST4xx ST5xx
– PROGRAMMING MANUAL -
Pag.48
The control character
ACK
(code 6) is sent every time a print command is processed
(/Wnnnn,
control character
FF
) indicating the start of a print session.
An
ACK
or a
NAK
are sent whenever a block of data sent with
/$>D
is processed (irre-
spective of whether the checksum is correct or not).
Every time a label is issued, the printer will send a value to indicate the start of the print-
ing, the end and the result of the operation. The communication is a sequence of 6 char-
acters (format
Prnnnn
) followed by a sequence of
CR+LF
(8 characters in total), where
the capital letter “P” is sent when the motor starts to move. The rest of the communication
is sent when the print cycle of the single label is complete. If the cutter is installed and has
been activated, the print cycle will include its start up. If the label is not printed for any
reason, the rest of the communication will immediately follow the “P”.
The 4 digits
nnnn
will send a signal showing the remaining number of labels to print
(from 0000 to 9999), whereas the field represented by
r
indicates the result of the print
operation with the following significance:
r = 0
The label has been successfully printed and the print session continues normally
unless the label counter has been set to 0000. In this case the print session is termi-
nated (the communication P00000 can be interpreted by the external computer as
the normal completion of the print command).
r = 1
Before printing the label, the end paper photo sensor has detected the absence of
paper and the print session is suspended with the printer going OFFLINE
r = 2
Before printing the label, the photo sensor has detected the end of the ribbon (only
if the printer is operating in thermal transfer mode) and the print session is sus-
pended with the printer going OFFLINE
r = 3
Before printing the label, the printer awaits an external Start signal
r = 4
Not currently used
r = 5
The Pause button has been pressed during the printing indicating that there has been
a manual stop or that the command sequence
DLE-US-US-NAK
has been re-
ceived. The print session is suspended when the current label is complete and the
printer goes OFFLINE
r = 6
Before printing the label, the sensor has detected an excessive printhead tempera-
ture (above 60°C) and the printer will wait until this temperature drops below the
limit before automatically resuming the print session
r = 7
Before printing the label, the printhead-closed micro switch is opened indicating
that the printhead is not in the correct position for printing. The print session is sus-
pended and the printer goes into OFFLINE
r = 8
After the label has been printed and if the leading edge of the next label is not de-
tected within the predefined length (set by the first parameter of the
/$>S
com-
mand), the motor will stop and the printer will go OFFLINE
r = 9
If the
Pause
and
Feed
buttons are pressed together during a print session or if the
command sequence
SI-US-US-NAK
is received, the print session is terminated
with the end of the current label and without completing the number of labels ini-
tially requested. The printer then goes ONLINE.
r = J
The AP406 or AP516 applicator is not in the home location before the beginning of