Intermec EasyCoder 501 E – Installation & Operation Ed. 1
15
Chapter 2 Print a Label
Using Intermec
Direct Protocol
You can use Intermec Direct Protocol in many ways. This section
shows you how to use Intermec Direct Protocol to create the same
label as the one you created using Intermec Fingerprint in the
previous section. You will fi rst create the format and then provide
input data to the variable fi elds. Note that many of the commands
are abbreviated. We assume that you use Intermec Shell to enter
Intermec Direct Protocol. For help, see “Starting Up with Intermec
Shell” in Chapter 9.
First, create a format:
LAYOUT INPUT "tmp:LABEL1"
↵
(start format recorder)
BF ON
↵
(enable bar code interpretation)
BF "SW030RSN.1"
↵
(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 "SW030RSN.1"
↵
(select text font)
PT VAR2$
↵
(variable input data to text fi eld)
LAYOUT END
↵
(save format)
Then add the variable data and a print instruction:
LAYOUT RUN "tmp:LABEL1"
↵
(select format)
<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)