Control Reference > VSPrinter Control > VSPrinter Properties > TrueType Property |
Returns or sets how TrueType fonts should be printed.
[form!]VSPrinter.TrueType[ = TrueTypeSettings ]
Valid settings for the TrueType property are described below:
Constant |
Value |
Description |
ttBitmap |
1 |
Prints TrueType fonts as raster graphics. |
ttDownload |
2 |
Downloads TrueType fonts as soft fonts. |
ttSubDevice |
3 |
Substitute device fonts for TrueType fonts. |
ttOutline |
4 |
Prints TrueType fonts as vector graphics. |
The default value for this property depends on the type of printer you have. Generally, dot-matrix printers will use the ttBitmap setting, Hewlett-Packard printers will use the ttDownload, and PostScript printers will use the ttSubDevice setting by default.
This property relies on the printer driver, and may or may not be available on a particular printer. After setting this property, read it back to make sure the driver made the change, or check the Error property. If it is set to vperDeviceIncapable (7), then the printer does not support the selected setting and you should take appropriate action.
TrueTypeSettings (Enumeration)