Help Center

AfxGetPrinterQualityfunction

Returns the printer print quality mode.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxGetPrinterQuality (BYREF wszPrinterName AS WSTRING) AS LONG

Parameters

NameDescription
wszPrinterNameThe printer name.

Return value

The printer print quality mode.

There are four predefined device-independent values:

  • DMRES_DRAFT = Draft
  • DMRES_LOW = Low
  • DMRES_MEDIUM = Medium
  • DMRES_HIGH = High

If a positive value is returned, it specifies the number of dots per inch (DPI) and is therefore device dependent.

Description

Returns the printer print quality mode.

Reference

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