Intermec EasyCoder F2 – Installation & Operation Ed. 2 15
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 fi rst and then provide input
data to variable fi elds in that layout, assuming that you have entered
the Intermec Direct Protocol via Intermec Shell (see chapter 8).
The fi nal result will be the same label as created in the example
for Intermec Fingerprint.
First, create a layout:
LAYOUT INPUT "tmp:LABEL1" ↵ (start layut recorder)
BF ON ↵ (enable bar code interpretation)
BF "Swiss 721 BT",6 ↵ (select bar code font)
PP 10,10 ↵ (insertion point for box fi eld)
PX 430,340,15 ↵ (create a box)
PP 30,30 ↵ (insertion point for image fi eld)
PM "GLOBE.1" ↵ (select image)
PP 75,270 ↵ (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,220 ↵ (insertion point for text fi eld)
FT "Swiss 721 BT",6 ↵ (select text font)
PT VAR2$ ↵ (variable input data to text fi eld)
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)