AfxSetPrinterDuplexModefunction
Sets the printer duplex mode.
Syntax
FUNCTION AfxSetPrinterDuplexMode (BYREF wszPrinterName AS WSTRING, BYVAL nDuplexMode AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
wszPrinterName | The printer name. | |
nDuplexMode | One of these values: DMDUP_SIMPLEX = Single sided printing. DMDUP_VERTICAL = Page flipped on the vertical edge. DMDUP_HORIZONTAL = Page flipped on the horizontal edge. |
Return value
TRUE or FALSE.
Description
Sets the printer duplex mode.
Reference
- Include file
AfxPrinter.inc - Defined in AfxNova/AfxPrinter.inc:897
- Documented in Printing/Printer Functions.md
- Topic: Printer Functions