Retrieving the name and size of the current print font (sys.FontName|Size)

!temp sys.FontName,,a80

Current font name

!temp sys.FontSize,,u2

Current font size

These variables store the name of the current print font, e.g. “Arial”, and its size in points. They are read-only.

These variables may be used in the setfont() function to retain the current font name and/or size while changing other font properties.

The default print font is stored in the printer parameter file, Section 3 (Standard control sequences), entry 5 (Initialise printer). The default printer parameter file is printer.


RELATED TOPICS

Printer parameter files

sys.FontFlags

run report