AfxGetPrinterPhysicalHeightfunction
Returns the height of the physical page, in device units.
Syntax
FUNCTION AfxGetPrinterPhysicalHeight (BYREF wszPrinterName AS WSTRING) AS LONG
Parameters
| Name | Description | |
|---|---|---|
wszPrinterName | The printer name. |
Return value
The height of the physical page, in device units. For example, a printer set to print at 600 dpi on 8.5-by-11-inch paper has a physical height value of 6600 device units. Note that the physical page is almost always greater than the printable area of the page, and never smaller.
Description
Returns the height of the physical page, in device units.
Reference
- Include file
AfxPrinter.inc - Defined in AfxNova/AfxPrinter.inc:693
- Documented in Printing/Printer Functions.md
- Topic: Printer Functions