Intermec PB51 Fingerprint Developer's Guide (old) - Page 85

About Font Types, Selecting Fonts, Character Sets and Keywords, - portable barcode printer

Page 85 highlights

Chapter 5 - Managing Fonts, Bar Codes, and Images About Font Types Fingerprint supports scaleable single- and double-byte fonts in TrueDoc (.PFR = Portable Font Resource) and TrueType (.ttf) format that comply with the Unicode standard. A single .PFR file can contain a number of different fonts. Compared with TrueType fonts, TrueDoc fonts require less memory space and work faster. TrueDoc fonts in .PFR format can only be obtained from Intermec. Single-byte fonts are mapped in the range of ASCII 0-127 dec (7-bit communication) or ASCII 0-255 dec (8-bit communication). Some examples are Latin, Greek, Cyrillic, Arabic, and Hebrew fonts. Double-byte fonts are fonts that are mapped in the area of ASCII 0-65,536 dec. (8-bit communication only). Any glyph (such as characters, punctation marks, symbols, or digits) in the Unicode World Wide Character Standard can be specified. Example of languages that typically require double-byte fonts are Chinese, Japanese, and Korean. TrueType fonts from sources other than Intermec can be used if they comply with the Unicode standard. Note: For more information on the Unicode standard, visit the Unicode home page at http://www.unicode.org. Selecting Fonts Single-byte fonts are selected using the FONT and BARFONT statements. Use a NASC statement to choose the corresponding character set. Double-byte fonts are selected using the statement FONTD, and the corresponding character set is chosen using the NASCD statement. These fonts cannot be used for bar code interpretations or multi-line text fields. In the FONT and BARFONT statements, the full case-sensitive names for each font must be used. For illustrations of the available character sets, see "Character Sets and Keywords" on page 153. All font stored in the printer memory can be listed to the standard OUT channel by a FONTS statement. This statement does not list dedicated bar code fonts. Another method of listing fonts is to use a FONTNAME$ function, which will list dedicated barcode fonts. Font files can be listed to the standard OUT channel using the FILES statement. This example shows how to list all fonts: 10 A$ = FONTNAME$(0) 20 IF A$ ="" THEN END 30 PRINT A$ 40 A$ = FONTNAME$(-1) 50 GOTO 20 RUN Intermec Fingerprint Developer's Guide 69

  • 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
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187

Chapter 5 — Managing Fonts, Bar Codes, and Images
Intermec Fingerprint Developer’s Guide
69
About Font Types
Fingerprint supports scaleable single- and double-byte fonts in TrueDoc (.PFR =
Portable Font Resource) and TrueType (.ttf) format that comply with the Unicode
standard.
A single .PFR file can contain a number of different fonts. Compared with TrueType
fonts, TrueDoc fonts require less memory space and work faster. TrueDoc fonts in
.PFR format can only be obtained from Intermec.
Single-byte fonts are mapped in the range of ASCII 0-127 dec (7-bit communication)
or ASCII 0-255 dec (8-bit communication). Some examples are Latin, Greek, Cyrillic,
Arabic, and Hebrew fonts.
Double-byte fonts are fonts that are mapped in the area of ASCII 0-65,536 dec. (8-bit
communication only). Any glyph (such as characters, punctation marks, symbols, or
digits) in the Unicode World Wide Character Standard can be specified. Example of
languages that typically require double-byte fonts are Chinese, Japanese, and
Korean.
TrueType fonts from sources other than Intermec can be used if they comply with
the Unicode standard.
Selecting Fonts
Single-byte fonts are selected using the FONT and BARFONT statements. Use a
NASC statement to choose the corresponding character set.
Double-byte fonts are selected using the statement FONTD, and the corresponding
character set is chosen using the NASCD statement. These fonts cannot be used for
bar code interpretations or multi-line text fields.
In the FONT and BARFONT statements, the full case-sensitive names for each font
must be used.
For illustrations of the available character sets, see
“Character Sets and Keywords”
on page 153.
All font stored in the printer memory can be listed to the standard OUT channel by
a FONTS statement. This statement does not list dedicated bar code fonts.
Another method of listing fonts is to use a FONTNAME$ function, which will list
dedicated barcode fonts.
Font files can be listed to the standard OUT channel using the FILES statement.
This example shows how to list all fonts:
10
A$ = FONTNAME$(0)
20
IF A$ =“” THEN END
30
PRINT A$
40
A$ = FONTNAME$(-1)
50
GOTO 20
RUN
Note:
For more information on the Unicode standard, visit the Unicode home page
at
.