User’s Manual1 DATECS LP-1000
40 41
the command V or C;
- All modifiers are executed from left to right;
- The resulting string is added to the end of the string, resulting from
the processing of the previous elements.
Examples: “Date: “TD” Time:”TT
will generate something like this:
Date: 02.OCT.2001 Time: 16.30
V0> < C1L3V0> < C1L3
will create a string from the variable V0, which is cleared
off leading and end intervals as well as the left 3 symbols
from the counter C1.
V0L1V0M3.2V0R1
will create a string, which will include the first, third, fourth
and last symbol of the variable V0.
Current hour: Coded with TT
Variable: Format: Vn[-m|+m] [Modifiers]
n Number of the variable.
m Not obligatory parameter – an integer between
0 and 10000. If present and the variable can be
interpreted as an integer number, then this
value is addred to the value of the variable.
Modifiers Instructions for separating some of the symbols
from the variable. Their number is arbitrary. If
they are missing the variable is added as per
definition and initialization without additional
processing. The printer performs the following
modifiers:
> Cuts off the string all leading symbols, which
are identical to the symbol following the mark
of the modifier. May also be used for cutting off
leading zeros or spaces.
< Cuts off the string the end symbols which are
identical to the symbol following the mark of
the modifier.
Rn Cuts off the symbols to the left of n.
Ln Leaves the last n symbols in the string.
Mm.n Separates n symbols from the string starting
from the position m.
# If the string can be interpreted as a whole
number cuts off the leading zeros.
Xmn Substitutes all symbols with value m with the n
symbol.
G After this symbol other modifiers must follow. They will act
as global modifiers - the whole text until the current
position will be changed, not the last variable or counter.
Counter: Format: Cn[Modifiers]
n Number of the counter.
Modifiers Their meaning and functions are the same as
with the variables.
The order in which the printer processes the variables and the
counters is as follows:
- The present values of the counter/variable is taken as a starting
point
- Its formatting is performed depending on the way it is defined with