Help Center

AfxGetPrinterMaxPaperWidthfunction

Returns the maximum paper width in tenths of a millimeter.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxGetPrinterMaxPaperWidth (BYREF wszPrinterName AS WSTRING) AS LONG

Parameters

NameDescription
wszPrinterNameThe printer name.

Return value

The maximum paper width in tenths of a millimeter.

Description

Returns the maximum paper width in tenths of a millimeter.

Reference

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