AfxGetPrinterPhysicalOffsetXfunction
Returns the distance from the left edge of the physical page to the left edge of the printable area, in device units.
Syntax
FUNCTION AfxGetPrinterPhysicalOffsetX (BYREF wszPrinterName AS WSTRING) AS LONG
Parameters
| Name | Description | |
|---|---|---|
wszPrinterName | The printer name. |
Return value
The distance from the left edge of the physical page to the left edge of the printable area, in device units. For example, a printer set to print at 600 dpi on 8.5-by-11-inch paper, that cannot print on the leftmost 0.25-inch of paper, has a horizontal physical offset of 150 device units.
Description
Returns the distance from the left edge of the physical page to the left edge of the printable area, in device units.
Reference
- Include file
AfxPrinter.inc - Defined in AfxNova/AfxPrinter.inc:708
- Documented in Printing/Printer Functions.md
- Topic: Printer Functions