02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LAYOUT INPUT<br />

Chapter —Program Instructions<br />

Purpose Statement for starting the recording of a layout description (<strong>Intermec</strong><br />

Direct Protocol only).<br />

Syntax LAYOUT INPUT <br />

is the desired name of the layout (max. 30 characters) including<br />

name of the device where the layout is to be stored.<br />

Remarks This statement can only be used in the <strong>Intermec</strong> Direct Protocol and starts<br />

the recording of a layout. All formatting instructions, such as PRPOS,<br />

MAG, FONT, BARFONT, BARSET, PRTXT, PRBAR, PRIMAGE,<br />

PRBOX, PRLINE, etc., which are transmitted to the printer on the<br />

standard IN channel after a LAYOUT INPUT statement and before a<br />

LAYOUT END statement, will be included in the layout.<br />

Layouts cannot be created in "/c" (which by default is the current directory),<br />

but must be created in the printer’s temporary memory ("tmp:"),<br />

or possibly in a CompactFlash card ("card1:"). Once a layout has been<br />

created in the temporary memory ("tmp:"), it can be copied to either "/c"<br />

or "card1:" so it will not be lost at power-off or reboot.<br />

Variable input data to text, bar code, and image fields can be provided<br />

separately using a LAYOUT RUN statement. Such variable data are indicated<br />

in the layout by string variables VARn$ where “n” is the number of<br />

the field in the LAYOUT RUN string of data. For example, the statement<br />

PRTXT "Hello" in the layout results in a fixed text, whereas the statement<br />

PRTXT VAR1$ results in a variable text, which is provided by the first<br />

field in a LAYOUT RUN string.<br />

The layout must not contain any PRINTFEED statements. The layout will<br />

not be saved until a LAYOUT END statement is executed.<br />

Example In this example, the <strong>Intermec</strong> Direct Protocol is enabled, new separators<br />

are specified, a layout is stored in "tmp:", data are combined with the<br />

layout, and a label is printed. Finally, the Direct Protocol is disabled:<br />

INPUT ON ↵<br />

FORMAT INPUT "#","@","&" ↵<br />

LAYOUT INPUT "tmp:LABEL1" ↵<br />

FT "Swiss 721 BT" ↵<br />

PP 100,250 ↵<br />

PT VAR1$ ↵<br />

PP 100,200 ↵<br />

PT VAR2$ ↵<br />

LAYOUT END ↵<br />

LAYOUT RUN "tmp:LABEL1" ↵<br />

#Line number 1&Line number 2&@ ↵<br />

PF ↵<br />

INPUT OFF ↵<br />

<strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong> 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!