Orientation

SCPI Command :

HCOPy:PAGE:ORIentation
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get() PageOrientation[source]
# HCOPy:PAGE:ORIentation
value: enums.PageOrientation = driver.hardCopy.page.orientation.get()

The command selects the page orientation of the printout. The command is only available if the output device is a printer or a PDF file.

Returns:

orientation: LANDscape | PORTrait

set(orientation: PageOrientation) None[source]
# HCOPy:PAGE:ORIentation
driver.hardCopy.page.orientation.set(orientation = enums.PageOrientation.LANDscape)

The command selects the page orientation of the printout. The command is only available if the output device is a printer or a PDF file.

Parameters:

orientation – LANDscape | PORTrait