Programming instructions
114
Intermec Fingerprint 6.13 – Programmer's Guide
Continued!
10. LABEL DESIGN, cont'd.
7. Layout Files
Introduction
Many application, e.g. in connection with booking and ticketing,
require the label layout as well as variable input data and logotypes
to be sent to the printer as files or arrays. This method requires less
programming in the printer and less data to be transferred between
printer and host, but some kind of overhead program in the host, that
handles file transfers as well as the input of data, is of great help.
The Intermec Fingerprint instruction is a statement called LAY-
OUT. Before using this statement, a number of files or arrays must
be created.
Creating a Layout File
The basis of the method is a layout file in random format, that
contains a number of records of various types, each with a length of
52 bytes.
Each record starts with a 2-byte hexadecimal element number
(bytes 0–1) which is used to link the layout record with a variable
input record or a record in a layout name file as explained later.
Byte 2 contains a single character that specifies the type of record:
A = Logotype (specified by its name)
B = Bar Code
C = Character (i.e. plain text)
E = Bar code extended field
Corresponds to 6 last parameters in BARSET statement. Must
have lower element number than the corresponding barcode
record (B).
H = Bar Code Font
J = Baradjust (corresponds to BARADJUST statement)
L = Logotype (specified by its number)
S = Separation line
X = Box
The remaining bytes are used differently depending on type of
record and may specify direction, position, font etc. Each such
instruction corresponds to an Intermec Fingerprint instruction, e.g.
direction corresponds to DIR statement, alignment to ALIGN, x-
and y-positions to PRPOS etc.
Text and bar code records can contain both fixed and variable data.
The fixed data (max. 20 characters) are entered in the layout record.
A parameter (bytes 43–44) specifies how many characters (starting
from the first character) of the fixed data that will be printed or used
to generate the bar code. Possible variable data will be appended to
the fixed data at the position specified in bytes 43–44.