AfxGetPrinterScalefunction
Returns the factor by which the printed output is to be scaled.
Syntax
FUNCTION AfxGetPrinterScale (BYREF wszPrinterName AS WSTRING) AS LONG
Parameters
| Name | Description | |
|---|---|---|
wszPrinterName | The printer name. |
Return value
The factor by which the printed output is to be scaled.
The apparent page size is scaled from the physical page size by a factor of dmScale /100. For example, a letter-sized page with a dmScale value of 50 would contain as much data as a page of 17- by 22-inches because the output text and graphics would be half their original height and width.
Description
Returns the factor by which the printed output is to be scaled.
Reference
- Include file
AfxPrinter.inc - Defined in AfxNova/AfxPrinter.inc:630
- Documented in Printing/Printer Functions.md
- Topic: Printer Functions