32
Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3
Chapter 4 Label Design
8. Layout
Commands
Start Layout Recorder
The
LAYOUT
INPUT
command clears the printer's working memory,
starts the layout recorder and allows you to assign a name to the
layout.
LAYOUT
INPUT "<layout name>"
<layout name>
up to 30 characters enclosed by double quo-
tation marks.
Example:
LAYOUT INPUT "Shipping Label"
↵
Assign Input Variables to Fields
The layout may consist of both fixed fields and fields for variable
information. In the layout, you must give a reference to each text,
bar code or image field intended to receive variable data, so that the
input data can be inserted into the correct field. The variable
VAR<n>$
is used to indicate variable input, where
<n>
specifies
the number of the field. The first variable input data block will be
entered into the field containing
VAR1$
, the second block with
VAR2$,
etc. Fixed data and variable data can be combined in the
same field. See also chapter 4.9.
VAR<n>$
<n>
the number of the field. There is no practical
limit to the number of fields.
Examples:
PT VAR1$
↵
(text field with variable input)
PT "Price: ";VAR2$
↵
(text field with fixed & variable input)
PB VAR3$
↵
(bar code field with variable input)
PM VAR4$
↵
(image field with variable input)
Save the Layout
After completing the layout, save it in the printer's RAM memory,
turn off the layout recorder and clear the printer's working memory
by means of a
LAYOUT
END
command. The layout can then be
copied or killed like any other file, see chapter 3.1.
LAYOUT
END
Example:
LAYOUT END
↵