108
Intermec EasyCoder ESim v4.00—Programmer’s Reference Manual
Chapter 7—Commands
V – Defi ne Variable
Description
This command is used to defi ne variable data fi elds for use in
stored forms.
Syntax
Vp
1
,p
2
,p
3
,"PROMPT"
Parameters
p
1
Variable reference number (00-99).
A maximum total of 1500 bytes of data for all variables is allowed.
p
2
Maximum number of digits for the variable (1-99).
A maximum total of 1500 bytes of data for all variables is allowed.
p
3
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).
"PROMPT" An ASCII text fi eld that will be transmitted to the host or Keyboard Display Unit
via the serial interface each time this command is executed. This prompt requests
the operator to enter the value for the variable.
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
FS
command.
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
2
parameter. If the number
of digits in the counter value is less than the number of digits
defi ned by p
2
, the area will be padded with space characters.
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
A
(Print Text) or
B
(Print Bar Code) commands.
Summary of Contents for EasyCoder C4
Page 1: ...Programmer s Reference Manual ESim v4 00 for EasyCoder C4 Bar Code Label Printer...
Page 14: ...8 Intermec EasyCoder ESim v4 00 Programmer s Reference Manual Chapter 1 General Information...
Page 124: ...118 Intermec EasyCoder ESim v4 00 Programmer s Reference Manual Chapter 7 Commands...
Page 128: ...122 Intermec EasyCoder ESim v4 00 Programmer s Reference Manual Chapter 8 Fonts...
Page 151: ......