Help Center

AfxGetPrinterTrueTypefunction

Retrieves the abilities of the driver to use TrueType fonts.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxGetPrinterTrueType (BYREF wszPrinterName AS WSTRING) AS LONG

Parameters

NameDescription
wszPrinterNameThe printer name.

Return value

The return value can be one or more of the following:

  • DCTT_BITMAP Device can print TrueType fonts as graphics.
  • DCTT_DOWNLOAD Device can download TrueType fonts.
  • DCTT_SUBDEV Device can substitute device fonts for TrueType fonts.

If the function returns -1, this may mean either that the capability is not supported or there was a general function failure.

Description

Retrieves the abilities of the driver to use TrueType fonts.

Reference

  • Include file AfxPrinter.inc
  • Defined in AfxNova/AfxPrinter.inc:489
  • Documented in Printing/Printer Functions.md
  • Topic: Printer Functions