Chapter 7—Commands
V – Defi ne Variable
This command is used to defi ne variable data fi elds for use in
Description
stored forms.
Syntax
Vp
1
Parameters
p
1
p
2
p
3
[-]
[- -]
"PROMPT" An ASCII text fi eld that will be transmitted to the host or Keyboard Display Unit
Remarks
This command is used in forms that require unique data on each
label. When initializing variables, they must be defi ned in order
(V00, V01, V02, etc.) immediately after the
The fi eld justifi cation parameter affects the way the variable will
be printed. When left, right, or center justifi cation are selected,
the counter value will be printed left, right or center justifi ed in
an area with a width defi ned by the p
of digits in the counter value is less than the number of digits
defi ned by p
If no justifi cation is selected, the fi eld will adjust to fi t the actual
length of the data and will not exceed the set maximum fi eld
length, which may be useful when using a counter as input data
to a bar code.
To print the contents of a variable, the number of the variable
must be included in the "DATA" fi eld of the
(Print Bar Code) commands.
108
Intermec EasyCoder ESim v4.00—Programmer's Reference Manual
,p
,p
,"PROMPT"
2
3
Variable reference number (00-99).
A maximum total of 1500 bytes of data for all variables is allowed.
Maximum number of digits for the variable (1-99).
A maximum total of 1500 bytes of data for all variables is allowed.
Field justifi cation:
L Left justifi cation.
R Right justifi cation.
C Center justifi cation.
N No justifi cation.
A single leading minus sign in the prompt fi eld will cause the prompt to be sent
one time only after the form is retrieved (Keyboard Display Unit only).
A double leading minus sign in the prompt fi eld will cause the prompt to be
suppressed (Keyboard Display Unit only).
via the serial interface each time this command is executed. This prompt requests
the operator to enter the value for the variable.
, the area will be padded with space characters.
2
FS
command.
parameter. If the number
2
A
(Print Text) or
B
Need help?
Do you have a question about the EasyCoder C4 and is the answer not in the manual?