![background image](http://html1.mh-extra.com/html/zeka/lp/lp_programming-manual_3301653023.webp)
User’s Manual
23
ZEKA LP
Define counter with number 0, length 6 characters, right aligned with zeroes,
with increment step +1.
7.2.2. DEFINE TEXT VARIABLE
The printer has the ability to define maximum 48 variables. The value setting
is done with the '?' command. It is used independently or in combination with
other variables and counters while generating text and barcode.
format:
Va,b,c[d],e
a
variable number (0..47).
b
maximum length
(1..64).
c
Alignment. Values:
N
No alignment. The actual length is used.
R
The variable string is aligned to right, while in the left, until the maximum
length is reached, is filled with the supplement character.
L
The variable string is aligned to left, while in the right, until the maximum
length is reached, is filled with the supplement character.
C
The variable string is centered, while in the left and right, until the maximum
length is reached, is filled with the supplement character.
d
The supplement character for the previous argument. If not defined
space is used.
e
Prompt text. This is quoted string with maximum length of 25 characters.
When initializing the variable, the printer will send this text through the
serial port. In case
„
е
”
begins with „-„ (for example „-Var 1”), asking for
variable value with „?” will be issued only once after the certain form
activation with the „FR” command. I.e. the next asking for value with the
„?” command won’t issue asking for such variable until form reactivation
with the „FR” command.
example
:
V1,6,L,”Name: ”
Defines variable with number 1 with maximum length 6 characters left
aligned with spaces.