Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 145
Chapter 2 Program Instructions
LAYOUT RUN
Field of Application
Statement for providing variable input data to a prede ned layout
(Intermec Fingerprint Direct Protocol only).
Syntax LAYOUT RUN <sexp>
<sexp> is the name of the layout as speci ed in the LAYOUT
INPUT statement.
Remarks
This instruction can only be used in the Intermec Direct Protocol and is
used to select a prede ned layout in a speci ed part of the printers memory
(default is "c:", see LAYOUT INPUT statement) and provide input to
string variables in the layout. Such variables are indicated by VARn$,
where n” indicates a eld in the string of data that should follow the
LAYOUT RUN statement.
The string of input data should be composed according to the following
syntax, where <STX> is the start-of-text separator, <CR> is the eld
separator and <EOT> is the end-of-text separator (see FORMAT INPUT
statement):
<STX><input to VAR1$><CR><input to VAR2$><CR>. . . . . . . <input to VARn$><CR><EOT>
Example
This example illustrates how the Intermec Direct Protocol is enabled, how
new separators are speci ed, how a layout is stored in the printers temporary
memory, how variable data are combined with the layout, and how a label is
printed. Finally, the Intermec Direct Protocol is disabled:
INPUT ON
FORMAT INPUT "#","@","&"
LAYOUT INPUT "tmp:LABEL1"
FT "Swiss 721 BT"
PP 100,250
PT VAR1$
PP 100,200
PT VAR2$
LAYOUT END
LAYOUT RUN "tmp:LABEL1"
#Line number 1&Line number 2&@
PF
INPUT OFF