Help Center

AfxGetPrinterRatePPMfunction

Returns the printer's print rate, in pages per minute.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxGetPrinterRatePPM (BYREF wszPrinterName AS WSTRING) AS LONG

Parameters

NameDescription
wszPrinterNameThe printer name.

Return value

The printer's print rate, in pages per minute.

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, in pages per minute.

Reference

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