wp782fa982.png
wp135453fd.png
wp36803731.png

< Integer > = SET PRINTER FONT (Handle) <String>

SET PRINTER FONT copies the font specified by handle to the printer ready for usage. Calls to any of the PTEXT commands will affect the font that the printer is using, but will not affect a font that has been specified by the SET PRINTER FONT command. To change the attributes of a printer font you must use the SETUP PRINTER FONT COMMAND.  If the function succeeds the return result is zero. A value of

-1 indicates that the font not been found. A value of -2 indicates an error has occurred.