Help Center

AfxGetPrinterHorizontalResolutionfunction

Returns the width, in pixels, of the printable area of the page.

PrintingfunctionAfxPrinter.incdocumented

Syntax

FUNCTION AfxGetPrinterHorizontalResolution (BYREF wszPrinterName AS WSTRING) AS LONG

Parameters

NameDescription
wszPrinterNameThe printer name.

Return value

The width, in pixels, of the printable area of the page.

Description

Returns the width, in pixels, of the printable area of the page.

Reference

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