FONT Mnemonic - Set SYSPRINT Font

Syntax

'FONT'(fontname{,cpi,points{,charset}})

Description

For BBj-specific information, see Font Mnemonic - Set SYSPRINT Font BBj.

The 'FONT' mnemonic sets the font to be used by the SYSPRINT device. The appropriate font from the font family in the fontname parameter will be used. If the characters per inch (cpi) and points parameters are given, new print columns and rows will be computed to match the width and height. If the cpi and points parameters are not specified, Visual PRO/5 will attempt to map the font to the current cols and rows selected. Visual PRO/5 2.x provides the capability to specify a character set by using the optional charset parameter, which is the same parameter used by the 'WINFONT' mnemonic.

Parameter Description
fontname The name of the font from the font family.
cpi characters-per-inch.
points Size of the font in points.
charset Specifies a parameter.

The following identifies the charset parameter values:

Decimal Value Character Set
0 ANSI
1 DEFAULT
2 SYMBOL
3 SHIFTJIS
4 HANGEUL
5 GB2312
6 CHINESEBIG5
7 OEM
8 JOHAB
9 HEBREW
10 ARABIC
11 GREEK
12 TURKISH
13 THAI
14 EATEUROPE
15 RUSSIAN
16 BALTIC
17 MAC

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing