< 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.