9
Intermec EasyCoder 301 Direct Protocol 2.0 –Programmer's Guide Ed. 3
Chapter 3 Principles of Operation
Letus create thesimple label shownon the left usingboth methods:
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 field)
PX 400,300,10 ↵(create a box)
PP 25,25 ↵(insertion point for image field)
PM "ROM:GLOBE.1" ↵(select image)
PP 75,250 ↵(insertion point for bar code field)
BT "CODE39" ↵(select bar code type)
PB "ABC" ↵(input data to bar code field)
PP 75,200 ↵(insertion point for text field)
FT "Swiss 721 BT",9,0 ↵(select font for text field)
PT "My FIRST label!" ↵(input data to text field)
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 field)
PX 400,300,10 ↵(create a box)
PP 25,25 ↵(insertion point for image field)
PM "ROM:GLOBE.1" ↵(select image)
PP 75,250 ↵(insertion point for bar code field)
BT "CODE39" ↵(select bar code type)
PB VAR1$ ↵(variable input data to bar code field)
PP 75,200 ↵(insertion point for text field)
FT "Swiss 721 BT",9,0 ↵(select font for text field)
PT VAR2$ ↵
(
variable input data to text field)
LAYOUT END ↵(save layout)
Note:
If a label has been printed using
apredefinedlayoutandyouwant
toreturntoImmediateMode,the
predefined layout must first be
cleared from the printer's
working memory using the
following command:
LAYOUT RUN ""
2. Sending
Commands,
cont'd.
ABC