Specifications

DATAPROCESS EUROPE S.p.A.
ST3xx ST4xx ST5xx
– PROGRAMMING MANUAL -
Pag.15
13
Printer control commands
The programming language for the ST3XX, ST4XX and ST5XX series of printers is pro-
prietary to LEPTONS and is not compatible with other printers available on the market.
There are two separate Command Interpreters in the printer – the main one processes the
data in the reception buffer as a serial flow of characters (or bytes) and sequentially exe-
cutes the required actions (FIFO basis) whereas the second one only recognises a limited
number of commands (sequences of 4 consecutive control codes) and operates in real time
when the characters are received and before they are put into the buffer.
The following sections describe the commands which are recognised by the printer and
they are organised in four groups:
9
Control characters
9
Printable characters
9
Commands with absolute priority
9
“/” commands to programme the printer
14
Control characters
The printer processes the following characters as control characters and all the others as
printable characters.
14.1
ENQ
Enquiry (05 hex, 5 dec): interrogates the printer for its status. The response from the
printer is in the form of an S10000A string (refer to the section on return codes for a de-
tailed explanation of this string).
14.2
BS
Back Space (08
hex
, 8 dec): moves the cursor back to the last character received and
overwrites it (normally used for accented characters not available in the standard character
map).
14.3
LF
Line Feed (0A
hex
, 10 dec): moves the cursor down, on the basis of the current printing
direction, by one step (line) which is determined by the current value of the interline pa-
rameter.
14.4
FF
Form Feed (0C
hex
, 12 dec): prints a label with the current contents of the buffer
(equivalent to the /W0001 command). Can be deactivated with the command / $&%.
14.5
CR
Carriage Return (0D
hex
, 13 dec): moves the cursor to the left, on the basis of the cur-
rent printing direction, to the initial position of the last /E command.