Method XbpPrinter():setOrientation() Foundation
Retrieves or sets the paper orientation for a printer.
:setOrientation( [<nOrientation>] ) --> nOrientationOld | NIL
|XBPPRN_ORIENT_PORTRAIT||Prints vertically (portrait)|
|XBPPRN_ORIENT_LANDSCAPE||Prints horizontally (landscape)|
The method returns the previous setting or NIL, if the printer does not support this option.
The method instructs the printer whether to print horizonally or vertically.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.