printDuplex

Reports whether the next print job should print double sided.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 2.9 Security: printing

# Syntax

set the printDuplex to {"none" | "short edge" | "long edge"}

# Examples

set the printDuplex to "short edge"

# Description

Use the printDuplex property to print double-sided. If "duplex" is not among the items of the printerFeatures then this property has no effect.

Attempting to set the printDuplex to an invalid value results in a script execution error.

To have an effect, this property must be set before calling open printing.

# Tags

# See

- **command:** print, open printing - **property:** printCollate, printerFeatures