Intermec PM4i Fingerprint Developer's Guide (old) - Page 110
Creating a Logotype Name File
View all Intermec PM4i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 110 highlights
Chapter 6 - Designing Bar Code Labels This example shows how a small layout file can be composed. 10 OPEN "LAYOUT.DAT" FOR OUTPUT AS 2 20 PRINT #2, " 0 1 H 1 FONT1 30 PRINT #2, " 0 2 C 1 1 1 0 0 6 5 0 F O N T 1 40 PRINT #2, " 0 2 C 1 1 1 3 0 4 5 0 F O N T 1 50 PRINT #2, " 0 3 B 1 7 1 0 0 3 0 0 C O D E 3 9 60 PRINT #2, " 0 4 A 1 2 3 0 0 8 0 0 G L O B E . 1 70 PRINT #2, " 0 5 X 1 1 1 0 0 4 4 0 3 0 0 80 PRINT #2, " 0 6 S 1 1 1 0 0 1 0 0 3 0 0 90 CLOSE 2 Fixed Text Fixed Text ABC 100 10 "; 11I 22 "; 0 11 "; 3 311 100"; 11 "; 5 "; "; Creating a Logotype Name File The next step is to create a logotype name file. A logotype name file is required even if you are not using a logotype in your layout, in which 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. Note: The last record in a sequential file must be appended by a semicolon (;). If you specify logotype-by-name (record type A), the printer memory is 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, for example: 10 OPEN "LOGNAME.DAT" FOR OUTPUT AS 1 20 PRINT#1, "GLOBE. " 30 PRINT#1, "GLOBE.2 " 40 PRINT#1, "DIAMONDS.1" 50 PRINT#1, "DIAMONDS.2"; 60 CLOSE 1 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 94 Intermec Fingerprint Developer's Guide