fgl_report_setPrinterDestinationUrl

Specify an alternate destination for the spooled printer formatted data.

Syntax

fgl_report_setPrinterDestinationUrl(
   destination STRING )
  1. destination - the destination URL.

Usage

Function to specify an alternate destination for the spooled printer formatted data.

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.

See Usage.