Help Center

AfxGetPrinterPaperSizesfunction

Returns a list of each supported paper sizes, in tenths of a millimeter.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxGetPrinterPaperSizes (BYREF wszPrinterName AS WSTRING) AS DWSTRING

Parameters

NameDescription
wszPrinterNameThe printer name.

Return value

A list of papernames. Each entry if formatted as "<width> x <height>" and separated by a carriage return and a line feed characters.

Description

Returns a list of supported paper sizes, in tenths of a millimeter.

Reference

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