AfxGetPrinterDuplexModefunction
If the printer supports duplex printing, returns the current duplex mode.
Syntax
FUNCTION AfxGetPrinterDuplex (BYREF wszPrinterName AS WSTRING) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
wszPrinterName | The printer name. |
Return value
- DMDUP_SIMPLEX = 1 (Single sided printing)
- DMDUP_VERTICAL = 2 (Page flipped on the vertical edge)
- DMDUP_HORIZONTAL = 3 (Page flipped on the horizontal edge)
Description
If the printer supports duplex printing, returns the current duplex mode
Reference
- Include file
AfxPrinter.inc - Defined in AfxNova/AfxPrinter.inc:536
- Documented in Printing/Printer Functions.md
- Topic: Printer Functions