SetPrinterFontSize method

[method icon] SetPrinterFontSize(iSize, iDivisor)

>SetPrinterFontSize

SetPrinterFontSize

The SetPrinterFontSize(size, divide_w) method allows the printer font size to be set. This method only has an effect when the printer is opened with the DIR=N option. See Local Printing. The divide_w parameter can be used to reduce the width of the font. Set it to zero to use the font's default width. Condensed printing can be achieved by using a value of 2 or more.

REM Set the printer font
KClient.SetPrinterFontName("Times New Roman")
See also:

BrandSplash, CameraCapture, ClearDirectoryWatchEvent, CreateBookMark, DisplayScreen, EmptyClientCache, EnableUserPreferences, EnableWarnings, FireServiceEvent, ForceDefaultFont, ForceReadableTextMode, FTPGet, FTPPut, GetForms, GetServiceAttribute, GetServiceCookie, GetSpecialFolderPath, HTTPGet, OpenServiceWindow, PlaySoundFile, SetCharacterEncoding, SetDefaultIMEMode, SetDirectoryWatchEvent, SetPrinterFontName, SetPrinterPort, SetServiceAttribute, SetServiceCaption, SetServiceConnection, SetServiceCookie, SetServiceUrl, SetThrottle, ShowSIP