Help Center

AfxGetPrinterMinPaperWidthfunction

Returns the minimum paper width in tenths of a millimeter.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxGetPrinterMinPaperHeight (BYREF wszPrinterName AS WSTRING) AS LONG

Parameters

NameDescription
wszPrinterNameThe printer name.

Return value

The minimum paper width in tenths of a millimeter. 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 minimum paper width in tenths of a millimeter.

Reference

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