XPRINT SET FONT statement  

Purpose

Select a font for the XPRINT statement.

Syntax

XPRINT SET FONT fonthndl&

fonthndl&

The numeric handle returned by the FONT NEW statement.

Remarks

The font specified by fonthndl& is selected to be used by all of the following XPRINT statements.  This is the most efficient way to change fonts and their general appearance (size, style, etc.).

You can predefine virtually any number of fonts and attributes by executing FONT NEW statements for each of them.  That makes them ready for immediate use when selected by XPRINT SET FONT.

Prior to any XPRINT operations, a specific printer must first be selected with XPRINT ATTACH.  If no specific font is selected, the default font is Courier New with no style attributes.

See also

FONT NEW, XPRINT, XPRINT ATTACH, XPRINT CHR SIZE, XPRINT TEXT SIZE