Programming instructions
118
Intermec Fingerprint 6.13 – Programmer's Guide
Creating a Logotype Name File, cont'd.
• If you specify logotype-by-number (record type L), you must
have a logotype name file. A logotype-by-number file is composed
by a number of records with a length of 13 bytes each. The first
2 bytes is a reference number (0–99), the third byte is always a
colon (:) and the following 10 bytes are used for the image name:
10 OPEN "LOGNAME.DAT" FOR OUTPUT AS 1
20 PRINT#1, "0 :GLOBE.1 "
30 PRINT#1, "1 :GLOBE.2 "
40 PRINT#1, "2 :DIAMONDS.1"
50 PRINT#1, "3 :DIAMONDS.2";
60 CLOSE 1
Note that the last record in a sequential file must be appended by
a semicolon (;).
Creating a Data File or Array
You will also need a data file or data array. This file or array contains
variable data that will be placed in the position specified by the
layout. Each data record starts with a hexadecimal element number
(00-FF hex) that links the data to the layout record or records that
start with the same element number. Thus you can e.g. use a single
data record to generate a number of text fields with various locations
and appearances as well as to generate a bar code.
If you for some reason do not use variable data, you will still need
to create either an empty data file or an empty data array.
• Create a data array like this:
10 DIM LAYDATA$(7)
20 LAYDATA$(0)="01Mincemeat"
30 LAYDATA$(1)="0AVeal"
40 LAYDATA$(2)="17Roast Beef"
50 LAYDATA$(3)="3FSausages"
60 LAYDATA$(4)="02Venison"
70 LAYDATA$(5)="06Lamb Chops"
80 LAYDATA$(6)="7CPork Chops"
• You can create a data file with the same content in a similar way:
10 OPEN "LAYDATA.DAT" FOR OUTPUT AS 1
20 PRINT#1,"01Mincemeat"
30 PRINT#1,"0AVeal"
40 PRINT#1,"17Roast Beef"
50 PRINT#1,"3FSausages"
60 PRINT#1,"02Venison"
70 PRINT#1,"06Lamb Chops"
80 PRINT#1,"7CPork Chops";
90 CLOSE 1
Note that the last record in a sequential file must be appended by
a semicolon (;).
IMPORTANT!
The LAYOUT statement requires that you
use the same format (either files or arrays)
for both data and errors.
Continued!
10. LABEL DESIGN, cont'd.
7. Layout Files, cont'd.
☞
Arrays
Also see:
• Chapter 6.10