
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
10
Chapter 3
Principles of Operation
2. Sending Commands, cont.
ABC
Layout Mode
First, create a layout:
LAYOUT INPUT "LABEL1"
↵
(start layout recorder)
BF ON
↵
(enable bar code interpretation)
BF "Swiss 721 BT",9,0
↵
(select bar code interpr. font)
PP 10,20
↵
(insertion point for box fi eld)
PX 400,300,10
↵
(create
a
box)
PP 25,25
↵
(insertion point for image fi eld)
PM "ROM:GLOBE.1"
↵
(select
image)
PP 75,250
↵
(insertion point for bar code fi eld)
BT "CODE39"
↵
(select bar code type)
PB VAR1$
↵
(variable input data to bar code fi eld)
PP 75,200
↵
(insertion point for text fi eld)
FT "Swiss 721 BT",9,0
↵
(select
font
for
text
fi eld)
PT VAR2$
↵
(variable input data to text fi eld)
LAYOUT END
↵
(save
layout)
Then add the variable input data and a print command:
LAYOUT RUN "LABEL1"
↵
(select
layout)
INPUT ON
↵
(enables layouts and var. data fi elds)
<STX>
(start of input data, ASCII 02 dec)
ABC
↵
(variable input data to VAR1$)
My FIRST label!
↵
(variable input data to VAR2$)
<EOT>
(end of input data, ASCII 04 dec)
PF
↵
(print one label)
INPUT OFF
↵
(disables layouts and var. data fi elds)
Note:
If a label has been printed using a predefi ned layout and you want to
return to Immediate Mode, the predefi ned layout must fi rst be cleared
from the printer’s working memory using the following command:
LAYOUT RUN ""