Intermec EasyCoder 501XP Programmer's Reference Manual page 19

Intermec easycoder 501xp: reference guide
Hide thumbs Also See for EasyCoder 501XP:
Table of Contents

Advertisement

Layout and Variable Input Data in Separate Sequences
All necessary commands for setting up the printer (see Chapter 6) should
be issued before the
exceptions are
NASC
Creating the Layout
LAYOUT INPUT "tmp:LABEL1" ↵
BF ON ↵
BF "Swiss 721 BT",6 ↵
PP 10,10 ↵
PX 430,340,15 ↵
PP 30,30 ↵
PM "GLOBE.1" ↵
PP 75,270 ↵
BT "CODE39" ↵
PB VAR1$ ↵
PP 75,220 ↵
FT "Swiss 721 BT",6 ↵
PT VAR2$ ↵
LAYOUT END ↵
COPY "tmp:LABEL1","c:LABEL1" ↵
The layout was created in the printer's temporary memory ("tmp:")
because it is faster and then, as a safety measure, copied to the permanent
memory ("c:") which is slower but safer than ("tmp:"). The instructions
could also have been sent as a continuous string rather than line-by-line.
Add Variable Data and Print
COPY "c:LABEL1","tmp:LABEL1" ↵
LAYOUT RUN "tmp:LABEL1" ↵
<STX>
ABC ↵
My FIRST label ↵
<EOT>
PF ↵
This should produce a label looking exactly like the one shown on the
previous page.
Intermec Direct Protocol v7.80 Programmer's Reference Manual
...
LAYOUT INPUT
and
, see Chapters 6.13 and 9.2.
NASCD
(variable input data to bar code fi eld)
Chapter 3 — Principles of Operation
sequence. The only
LAYOUT END
(start layout recorder)
(enable bar code interpretation)
(select bar code interpretation font)
(insertion point for box fi eld)
(insertion point for image fi eld)
(insertion point for bar code fi eld)
(select bar code type)
(insertion point for text fi eld)
(select font for text fi eld)
(variable input data to text fi eld)
(save layout in "c:")
(start of input data, ASCII 02 dec)
(variable input data to VAR1$)
(variable input data to VAR2$)
(end of input data, ASCII 04 dec)
(create a box)
(select image)
(save layout)
(copy layout)
(select layout)
(print one label)
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents