Programming instructions
117
Intermec Fingerprint 6.13 – Programmer's Guide
Creating a Layout File, cont'd.
This example shows how a small layout file can be composed:
There are certain rules that should be observed:
• Each record must be exactly 52 bytes long and be appended by a
semicolon (;).
• It is essential that the different types of data are entered exactly in
the correct positions. Any input in unused bytes will be ignored.
• The records are executed in the order they are entered. The
reference number at the start of each record does not affect the
order of execution. This implies that a barfont record will affect
all following bar code records, but not those already entered.
• When using bar code interpretation, do not enter a bar code record
directly after a record with inverse printing, since the bar code
interpretation will be inversed as well. A text or logotype record
without inverse printing between the bar code record and the
inversed record will reset printing to normal.
Creating a Logotype Name File
Next step is to create a logotype name file. This is a necessary step
even if you are not going to use any logotype in your layout (in this
case the file can be empty). In the layout file, you can set a logotype
record to use logotypes specified either by name or by number.
• If you specify logotype-by-name (record type A), the printer's
entire memory will be searched for an image with the specified
name. A logotype-by-name file is composed by a number of
records with a length of 10 bytes each that contain the image
names, e.g.:
10 OPEN "LOGNAME.DAT" FOR OUTPUT AS 1
20 PRINT#1, "GLOBE.1 "
30 PRINT#1, "GLOBE.2 "
40 PRINT#1, "DIAMONDS.1"
50 PRINT#1, "DIAMONDS.2";
60 CLOSE 1
Note that the last record in a sequential file must be appended by
a semicolon (;).
Continued!
10. LABEL DESIGN, cont'd.
7. Layout Files, cont'd.
10 OPEN "LAYOUT.DAT" FOR OUTPUT AS 2 Open random file
20 PRINT #2, "01H1 SW030RSN.1 "; Barfont record
30 PRINT #2, "02C11100 650 SW030RSN.1Fixed Text 11I 22 "; Text record
40 PRINT #2, "02C11130 450 SW030RSN.1Fixed Text 0 11 "; Text record
50 PRINT #2, "03B17100 300 CODE39 ABC 3 311 100"; Bar code record
60 PRINT #2, "04A12300 800 GLOBE.1 11 "; Logotype record
70 PRINT #2, "05X11100 440 300 100 5 "; Box record
80 PRINT #2, "06S11100 100 300 10 "; Line record
90 CLOSE 2 Close file