Reporting API Functions / Functions to change reporting options |
Select the media size to be used.
fgl_report_setPrinterMediaSizeName( mediaSizeName STRING )
Function to select the media size to be used.
Selects the media size to be used. Normally this does not need to be specified, as the program will automatically select the smallest media onto which the current document can be printed without clipping or scaling. This function and the functions fgl_report_setPrinterMediaTray and fgl_report_setPrinterMediaName are mutually exclusive. Default value not set (is automatically selected). Setting this option reduces the set of usable printers to those matching it.
Fails if the argument is not one of the specified values.
For a generic 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.