fgl_report_setPrinterResolution
Specify an exact resolution for the printer.
Syntax
fgl_report_setPrinterResolution(
resolution STRING )
- resolution - the resolution of the printer. You can set a
resolution for both the X-axis and the Y-axis, or you can set the resolution for the X-axis and the
Y-axis separately. You can specify DPI (dots per inch) or DPCM (dots per centimeter). DPI is the
default.
Table 1. Valid resolution entries Value Description (X-axis, Y-axis, Measure) 300
300,300,dpi 300 dpcm
300,300,dpcm 300,150
300,150,dpi 300,150,dpi
300,150,dpi 300,150,dpcm
300,150,dpcm
Usage
Function to specify an exact resolution supported by a printer or to be used for the job. This function assumes that printers have a small set of device resolutions at which they can operate, rather than a continuum.
By default, a resolution is not specified.
Setting this option reduces the number of usable printers to those matching the specified value.
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.