PtrDevice:Duplex Access/Assign
<< Click to Display Table of Contents >> PtrDevice:Duplex Access/Assign |
![]() ![]() ![]() |
Type | ShortInt |
Purpose
To get/set the DEVMODE.dmDUPLEX member. The access returns the duplex mode of the printer.
The assign sets the DEVMODE.dmDUPLEX structure member thus specifying duplex printing. Valid options are DMDUP_SIMPLEX, DMDUP_HORIZONTAL, and DMDUP_VERTICAL
Example
// Does the user want duplex printing?
if oPtrDevice:Duplex
...
endif