Help Center

AfxGetPrinterRatefunction

Returns the printer's print rate.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxGetPrinterRate (BYREF wszPrinterName AS WSTRING) AS LONG

Parameters

NameDescription
wszPrinterNameThe printer name.

Return value

The printer's print rate.

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

Description

Returns the printer's print rate.

Reference

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