fgl_report_setPrinterWriteToFile
Specify a file where the report is written in postscript. (deprecated!)
Syntax
fgl_report_setPrinterWriteToFile(
file STRING)
- file - the destination file.
Usage
The function is deprecated and replaced by the "Postscript" output format in
calls to the function fgl_report_selectDevice
in
conjunction with the standard output specification function
fgl_report_setOutputFileName
.
A filename specifying a location where the report output is written in postscript format. If this attribute is set, all other IPP attribute values are ignored. Default: "not set" Setting this option reduces the set of usable printers to those matching it.
The default file path is the value of the GREOUTPUTDIR environment variable, or the current working directory of the report engine if GREOUTPUTDIR isn't set.
The function fails if file cannot be opened for writing.
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.