Define Variable - Intermec EasyCoder PD4 Programmer's Reference Manual

Esim v5.12 bar code label printer
Hide thumbs Also See for EasyCoder PD4:
Table of Contents

Advertisement

V – Define Variable
This command is used to define variable data fields for use in
Description
stored forms.
Syntax 
Vp
1
Parameters
p
1
p
2
p
3
[-]
[- -]
"PROMPT" An ASCII text field 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 defined in order
(V00, V01, V02, etc.) immediately after the FS command.
The field justification parameter affects the way the variable will
be printed. When left, right, or center justification are selected,
the counter value will be printed left, right or center justified in
an area with a width defined by the p
of digits in the counter value is less than the number of digits
defined by p
If no justification is selected, the field will adjust to fit the actual
length of the data and will not exceed the set maximum field
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" field of the A (Print Text) or B
(Print Bar Code) commands.
ESim v5.12 for EasyCoder PD4—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 justification:
L Left justification.
R Right justification.
C Center justification.
N No justification.
A s ingle l eading m inus s ign i n t he p rompt fi eld w ill c ause t he p rompt t o b e s ent
one time only after the form is retrieved (Keyboard Display Unit only).
A double leading minus sign in the prompt field will cause the prompt to be
suppressed (Keyboard Display Unit only).
via t he s erial i nterface e ach t ime t his c ommand i s e xecuted. T his p rompt r equests
the operator to enter the value for the variable.
, the area will be padded with space characters.
2
Chapter —Commands
parameter. If the number
2
11

Advertisement

Table of Contents
loading

Table of Contents