fgl_report_setPrinterDestinationUrl
Specify an alternate destination for the spooled printer formatted data.
Syntax
fgl_report_setPrinterDestinationUrl(
destination STRING )
- destination - the destination URL.
Usage
Function to specify an alternate destination for the spooled printer formatted data.C
A URL indicating an alternate destination for the spooled printer formatted data. Some print
services will not support the notion of a destination other than the printer device and so will not
support this attribute. A common use for this attribute will be applications which want to redirect
output to a local disk file: e.g. "file:out.prn". A more platform independent way is to set the
fgl_report_setPrinterName
to "stdout" so that postscript is written to
stdout or to specify the fgl_report_setPrinterwriteToFile
attribute which causes postscript to be
written to the specified file. Another alternative may be the use of the fgl_report_selectDevice
to generate a PDF file .
By default, it is not set. Setting this option reduces the set of usable printers to those matching it.
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.