
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
9
Chapter 3
Principles of Operation
Therre are two methods for creating the label shown to the left:
Immediate Mode
You can send the string as a single line:
BF ON:BF "Swiss 721 BT",9,0:PP 10,20:
PX 400,300,10:PP 25,25:PM "ROM:GLOBE.1":
PP 75,250:BT "CODE39":PB "ABC":PP 75,200:
FT "Swiss 721 BT",9,0:PT "My FIRST
label!":PF
↵
You can also send the same string line by line:
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 "ABC"
↵
(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 "My FIRST label!"
↵
(input data to text fi eld)
PF
↵
(print one label)
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)
2. Sending Commands, cont.
ABC