Fonts Section

The Fonts section lists the fonts available to SQR when printing on Microsoft Windows printer devices (using the -PRINTER:WP command-line flag), viewing SPF output using SPF Viewer on Microsoft Windows (SQRWV), and creating style sheet for Enhanced HTML output. This section does not apply to PostScript or HP LaserJet printer types.

This section discusses how to:

  • Add font entries.

  • Specify character sets in Windows.

See DECLARE-PRINTER and Understanding Older SQR Commands.

The Fonts section contains a number of predefined font entries. You can add entries by using the font numbers 900 through 999. Each entry consists of a font name, a font style (fixed or proportional), and a bold indicator, all of which are associated with a font number, for example:

   4=Arial,proportional
     or
   300=Courier New,fixed,bold

Note: A proportional font style is assumed if the second parameter starts with a P. Bold is assumed if a third parameter is supplied.

Using the font number, commands such as ALTER-PRINTER and DECLARE-PRINTER can reference a particular font style.

In Microsoft Windows, you can use the CharacterSet entry either to determine the Microsoft Windows default character set or to specify a character set. The CharacterSet entry enables you to print any standard character set to a Windows printer (-PRINTER:WP) or to view an SPF file that displays the appropriate character set.

The syntax is:

CharacterSet=DEFAULT|AUTO|character_set

The arguments are:

  • DEFAULT reflects current SQR functionality.

  • AUTO automatically determines the default character set of the Microsoft Windows installation and uses the default set when generating reports.

    CharacterSet specifies one of these keywords: ANSI, ARABIC, BALTIC, CHINESEBIG5, EASTEUROPE, GB2312, GREEK, HANGUL, HEBREW, JOHAB, MAC, OEM, RUSSIAN, SHIFTJIS, SYMBOL, THAI, TURKISH, VIETNAMESE.