fgl_report_setPrinterWriteToFile

Specify a file where the report is written in postscript. (deprecated!)

Syntax

fgl_report_setPrinterWriteToFile(
   file STRING)
  1. file - the destination file.

Usage

Function to specify a file where the report is written in postscript.
Important: 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 file name 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 function fails if file cannot be opened for writing.

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.