Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7144
Chapter 2 Program Instructions
LAYOUT INPUT
Field of Application
Statement for starting the recording of a layout description (Intermec
Direct Protocol only).
Syntax LAYOUT INPUT <sexp>
<sexp> is the desired name of the layout (max. 30 characters) including
name of the device where the layout is to be stored.
Remarks
This statement can only be used in the Intermec Direct Protocol and starts
the recording of a layout. All formatting instructions, such as PRPOS, MAG,
FONT, BARFONT, BARSET, PRTXT, PRBAR, PRIMAGE, PRBOX,
PRLINE, etc., which are transmitted to the printer on the standard IN
channel after a LAYOUT INPUT statement and before a LAYOUT END
statement, will be included in the layout.
Due to inherent restrictions in Flash memories, layouts cannot be created
in "c:" (which by default is the current directory), but must be created
in the printer’s temporary memory ("tmp:"), or possibly in an SRAM
card ("card1:"). Once a layout has been created in the temporary memory
("tmp:"), it can be copied to either "c:" or "card1:" so it will not be
lost at power-off or reboot.
Variable input data to text, bar code, and image fi elds can be provided
separately by means of a LAYOUT RUN statement. Such variable data are
indicated in the layout by string variables VARn$ where “n" is the number
of the fi eld in the LAYOUT RUN string of data. For example, the statement
PRTXT "Hello" in the layout results in a fi xed text, whereas the statement
PRTXT VAR1$ results in a variable text, which is provided by the fi rst
fi eld in a LAYOUT RUN string.
The layout must not contain any PRINTFEED statements.
The layout will not be saved until a LAYOUT END statement is executed.
Example
This example illustrates how the Intermec Direct Protocol is enabled, how
new separators are specifi ed, how a layout is stored in the printer’s 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 ↵