
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
35
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 fi xed fi elds and fi elds for variable
information. In the layout, you must give a reference to each text,
bar code or image fi eld intended to receive variable data, so that
the input data can be inserted into the correct fi eld. The variable
VAR<n>$
is used to indicate variable input, where
<n>
specifi es
the number of the fi eld. The fi rst variable input data block will be
entered into the fi eld containing
VAR1$
, the second block with
VAR2$
, etc. Fixed data and variable data can be combined in the
same fi eld. See also Chapter 4.9.
VAR
<n>
$
<n>
the number of the fi eld. There is no practical
limit to the number of fi elds.
Examples:
PT VAR1$
↵
(text fi eld with variable input)
PT "Price: ";VAR2$
↵
(text fi eld with fi xed and
variable input)
PB VAR3$
↵
(bar code fi eld with variable input)
PM VAR4$
↵
(image fi eld with variable input)
Save the Layout
After completing the layout, save it in the printer’s RAM
memory, switch off the layout recorder and clear the printer’s
working memory using a
LAYOUT
END
command. The layout
can then be copied or killed like any other fi le, see Chapter 3.13.
LAYOUT END
Example:
LAYOUT END
↵