Sets or retrieves the printing orientation for the current printer.
One of the values in the Property Values section.
The value of the orientation property is always consistent with the information returned by the pageHeight and pageWidth properties. In other words, if the printer is in portrait mode, the pageHeight is greater than the pageWidth. If the printer is in landscape mode, the pageWidth is greater than the pageHeight.
The orientation property was introduced in Microsoft Internet Explorer 6.