PrinterFont$
Jump to navigation
Jump to search
Description
- Sets the font used when LPRINTing to the printer.
Syntax
- PrinterFont$="fontName fontSize [font modifier]"
Hints
- The font modifier is optional and includes bold, italic and underlined.
- The last font set before a page is printed is used for all the text on that page.
Example
' set a fixed width, 12 pt. font PrinterFont$="Consolas 12" ' using a font variable to set fonts bigFont$="Courier_New 20 bold" PrinterFont$=bigFont$ ' send content to printer lprint "Wow! Now that's a big, bold, font!" dump end
Useful Procedures
' Place a useful function or sub using this keyword here