Chapter 4
Label Design
9. Printable Commands
36
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>
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
• Field separator: CR
• End separator: EOT
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>
EasyCoder E4 Direct Protocol v2.10 – Programmer's Reference Manual
the name given to the layout in the
LAYOUT INPUT command and must be
enclosed by double quotation marks.
(ASCII 02 dec)
(ASCII 13 dec)
(ASCII 04 dec)