wp782fa982.png
wp135453fd.png
wp08504134.png

< Integer > = Get Printer Orientation()

Set Printer Orientation < Integer >

Get Printer Orientation returns 0 if the print job is to be printed portrait, otherwise it will return 1 if it is to be printed in landscape orientation.

 

Set Printer Orientation sets the print job to landscape if the value of the passed parameter is 1 otherwise it sets it to portrait.

wpa687e877_0f.jpg
Portrait
wp7ff19271.png
wpf77ab934.png
wpaa906f58.png
width
wp824576f3_0f.jpg
wp9ecaab7f.png
wpe56b6a59.png
height
wp988221ac.png
Landscape