1 DATECS
LP-50
30
Format:
Va,b,c,d,e
a
The number of the variable (0 - 31)
b
Maximum length (1 - 63)
c
Alignment - possible values:
N
No alignment - actual length is used.
R
The string of the variable is right aligned - on the left
the set length is filled with the additional symbol.
L
The string of the variable is left aligned - on the right
the set length is filled with the additional symbol.
C
The string of the variable is center aligned while on
both sides the maximum length is filled in with the
additional symbols.
d
This is the additional symbol for the preceding
argument. If it is not selected space is used.
e
A suggestive text (prompt). This is a string closed by
brackets and a max. length of 25 symbols. At
initialization of the variable the printer sends this text
over the serial port.
Example:
V1,6,L,”Name:”
Defines a variable No.1 with a maximum length of 6 bytes, left
aligned with spaces.
Initialization of variables and counters
After this command the printer asks for initialization values for
the defined counters and variables in the order of their logical
numbers. After each entry the printer sends a text prompt via
its serial port. If a longer string is sent it will cut off from the
right end. Empty strings will call out the old value of the
counter or variable. Initializing a counter with a string, which
cannot be interpreted as a positive number will be rejected.
Format:
?
Clearing the content of variables and counters
The command clears the contents and deactivates all variables and
counters.
Format:
VC