fgl_report_setPrinterOrientationRequested
Control the paper orientation.
Syntax
fgl_report_setPrinterOrientationRequested(
orientationRequested STRING)
- orientationRequested - one of: landscape|portrait|reverse-landscape|reverse-portrait
Usage
Function to control the paper orientation.
Controls the paper orientation. Normally this value should not be set. The style sets the value internally by analyzing the page's width and height values. Default: not set Setting this option reduces the set of usable printers to those matching it.
Fails if argument is not one of the specified values.
For an example of Genero code using a reporting function, see Using report output functions. This example may not use the specific function discussed in this topic, however it provides details on where you would place this (and other) report output functions.