
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
36
Chapter 4
Label Design
9. Printable Commands
Select a Layout
Before any variable data can be transmitted to a preprogrammed
layout, the layout must be selected using a
LAYOUT
RUN
com-
mand.
LAYOUT RUN
"<layout name>"
<layout name>
the name given to the layout in the
LAYOUT INPUT command and must be
enclosed by double quotation marks.
Example:
LAYOUT RUN "Shipping Label"
↵
Transmit Variable Data to a Layout
After having selecting a layout using a
LAYOUT
RUN
command,
you can transmit the variable data to their respective layout fi elds:
• The transmission starts with a start-of-text separator.
• Then comes a block of data to the fi eld containing
VAR1$
.
• A fi eld separator separates the blocks of data.
• Next block goes to the fi eld containing
VAR2$
.
• A fi eld separator separates the blocks of data and so on.
• The last block must also end with a fi eld separator.
• The end of transmission is indicated by an End-of text separa-
tor.
By default, the following separators should be used:
• Start separator: STX
(ASCII 02 dec)
• Field separator: CR
(ASCII 13 dec)
• End separator: EOT
(ASCII 04 dec)
All separators can be changed using the
INPUT
ON
|
OFF
and
FORMAT
INPUT
commands, see Chapter 6.5.
INPUT
OFF
is
default, so you must issue the command
INPUT
ON
before using
LAYOUT
RUN
.
<STX>
<Input to VAR1$>
<CR>
<Input to VAR2$>
<CR>
.......
<EOT>
Input data must
not
be enclosed by double quotation marks.
Example:
INPUT ON
↵
LAYOUT RUN "Shipping Label"
↵
<STX> Abcdefg <CR>123456789 <CR> <EOT>