
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
38
Chapter 4
Label Design
Input Data to Bar Code Fields
Input data is inserted into a bar code fi eld using a
PRBAR
com-
mand. You can add the same types of data to a bar code fi eld as
to a text fi eld, as long as the type of data (fnumeric/alphanumeric)
and the number of characters, etc. comply with the bar code
specifi cation.
You can combine different types of data in a single
PRBAR
com-
mand. The different parts are separated by semicolons (
;
). Note
that alphanumeric input must be enclosed by double quotation
marks.
PRBAR
|
PB
<input data>[;<input data>...]
Examples:
PB "71543";VAR5$
↵
PB "Intermec"
↵
PB DATE$;TIME$
↵
Input Data to Image Fields
An image can be selected either by name in plain text (for
example “ROM:GLOBE.1”), or in the form of a variable (for
example VAR1$), (see also Chapter 4.5). Note that plain text
input must be enclosed by double quotation marks.
PRIMAGE
|
PM
<image name>
Examples:
PM VAR5$
↵
PM "LOGO.2"
↵
Input Data from Counters
Using a
COUNT&
command, various counters can be created (see
Chapter 6.6). You can read the present value of a counter and
use it as input data by including a reference to the counter in the
PRTXT
or
PRBAR
commands in the form of a variable.
CNT
<Counter No.>
$
<Counter No.>
the number assigned to the counter in the
COUNT& command.
Example:
PT "Label number: ";CNT1$
↵
PB CNT2$
↵
9. Printable Commands, cont.