printPaperOrientation

Reports the rotation of a printed page.

# Metadata

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

# Syntax

set the printPaperOrientation to {"portrait" | "landscape" | "reverse portrait" | "reverse landscape"}

# Examples

set the printPaperOrientation to "portrait"

# Description

Use the printPaperOrientation to rotate the printed output to the desired orientation on the page.

Attempting to set the printPaperOrientation to an invalid value will result in a script execution error.

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

>*Cross-platform note:* The reverse options are not supported on > Windows. When used Windows will revert these options to their > non-reverse counterparts.

# Tags

# See

- **command:** open printing, answer printer - **property:** printRowsFirst