15
Intermec EasyCoder 601 XP – Installation & Operation Ed. 3
Chapter 2 Print a Label
Intermec Direct
Protocol
The Intermec Direct Protocol can be used in many ways. Here, we
will illustrate how to build a layout first and then provide input data
to variable fields in that layout, assuming that you have entered the
Intermec Direct Protocol via Intermec Shell (see chapter 9). The
final result will be the same label as created in the example for
Intermec Fingerprint.
First, create a layout:
LAYOUT INPUT "tmp:LABEL1"
↵
(start layout recorder)
BF ON
↵
(enable bar code interpretation)
BF "Swiss 721 BT",6
↵
(select bar code font)
PP 10,10
↵
(insertion point for box field)
PX 430,340,15
↵
(create a box)
PP 30,30
↵
(insertion point for image field)
PM "GLOBE.1"
↵
(select image)
PP 75,270
↵
(insertion point for bar code field)
BT "CODE39"
↵
(select bar code type)
PB VAR1$
↵
(variable input data to bar code field)
PP 75,220
↵
(insertion point for text field)
FT "Swiss 721 BT",6
↵
(select text font)
PT VAR2$
↵
(variable input data to text field)
LAYOUT END
↵
(save layout)
Then add the variable data and a print instruction:
LAYOUT RUN "tmp:LABEL1"
↵
(select layout)
<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)