Specifications

DATAPROCESS EUROPE S.p.A.
ST3xx ST4xx ST5xx
– PROGRAMMING MANUAL -
Pag.16
15
Commands with absolute priority
The printer recognises sequences of 4 consecutive control characters, which represent
commands which are immediately executed instead of being stored in the buffer for sub-
sequent processing by the command interpreter. The sequences are the following:
15.1
VT-US-US-NAK
(0B-1F-1F-15 hex, 11-31-31-21 dec)
puts the printer into busy status, sets the TRS to
negative and sends an XOFF. The printer goes to standby and ready status (RTS positive
and sends XON) when all of the pending commands have been processed and are com-
pleted (buffer empty). This command is useful when it is necessary to disabilitate the entry
buffer.
15.2
SO-US-US-NAK
(0E-1F-1F-15 hex, 14-31-31-21 dec
)
Cancels the reception buffer.
15.3
SI-US-US-NAK
(0F-1F-1F-15 hex, 15-31-31-21 dec)
Aborts the print session in progress,
after having
completed the current label. The current label will not be printed if the printer is waiting
for variable data. After aborting the current print session, the printer will continue to proc-
ess any data remaining in the buffer. This command can also be used to cancel the proc-
essing of a sequence of pending commands thereby immediately putting the printer into a
status of ONLINE.
15.4
DLE-US-US-NAK
(10-1F-1F-15 hex, 16-31-31-21 dec)
Emulates the PAUSE key,
putting the printer into
ONLINE/OFFLINE
status or PAUSE/RESUME of a print session.
16
Printable characters
The printer interprets all the codes between 20 hex (32 dec) and FF hex (255 dec) as print-
able characters except for 2F hex (47 dec). This corresponds to the "/" character which is
seen as the start for a series of commands (the sequence of “//” is used to print the charac-
ter “/”).
The "/" command can be reassigned to a different printable character or a control character
if necessary. This obviously results in the loss of communication between the printer and
any of the LEPTONS software packages.
The 96 characters from
SPACE
(20 hex, 32 dec) to
DEL
(7F hex, 127 dec), correspond-
ing to the standard ASCII codes are immediately available. This is due to the fact that the
position, the ASCII DOS code and the ASCII WINDOWS code are all aligned as shown
in the following table: