Help Center

AfxGetPrinterMinPaperHeightfunction

Returns the minimum paper height 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 height 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 height in tenths of a millimeter.

Reference

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