Intermec PC43d Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM4 - Page 78
Managing Fonts, About Font Types, Selecting Fonts, Controlling Font Direction, Size, Slant, and Width
View all Intermec PC43d manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 78 highlights
Chapter 5 - Managing Fonts, Bar Codes, and Images Managing Fonts Fingerprint includes a variety of commands you can use to manage fonts and font printing. For more information about the fonts included by default with your printer, see the Fingerprint Command Reference Manual. About Font Types Fingerprint supports scalable fonts in TrueType® (.ttf) format, and TrueType-based OpenType® format. You can also purchase additional fonts from Monotype at www.fonts.com. 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. Selecting Fonts Use the FONT and BARFONT statements to select a font. Use the NASC statement to choose the corresponding character set. You can use these commands with both single- and double-byte fonts. For illustrations of the available character sets, see "Character Sets and Keywords" on page 133. All fonts stored in the printer memory can be listed to the standard OUT channel by a FONTS statement. This statement does not list font aliases. Another method of listing fonts is to use the FONTNAME$ function. You can also list fonts 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 Controlling Font Direction, Size, Slant, and Width Fonts can be rotated in four directions using a DIR statement. Use the FONT and BARFONT commands to specify size in points (1 point = 1/72 in = 0.352 mm) and slant in degrees (clockwise). The width can be set as a percentage value relative the height. 66 Fingerprint Developer's Guide