Intermec PM23c Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM4 - Page 103

Creating a Logotype Name File

Page 103 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 Fingerprint Developer's Guide 91

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163

Chapter 6 — Designing Bar Code Labels
Fingerprint Developer’s Guide
91
This example shows how a small layout file can be composed.
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.
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
10
OPEN “LAYOUT.DAT” FOR OUTPUT AS 2
20
PRINT #2,“01H1
FONT1
“;
30
PRINT #2,“02C11100
650 FONT1
Fixed Text
11I 22
“;
40
PRINT #2, “02C11130
450 FONT1
Fixed Text
0
11
“;
50
PRINT #2,“03B17100
300 CODE39
ABC
3 311 100“;
60
PRINT #2, “04A12300
800 GLOBE.1
11
“;
70
PRINT #2, “05X11100
440 300
100
5
“;
80
PRINT #2, “06S11100
100 300
10
“;
90
CLOSE 2
Note:
The last record in a sequential file must be appended by a semicolon (;).