Reporting API Functions / Functions to change reporting options |
Specify the total size in number of impressions.
fgl_report_setPrinterJobImpressions( jobImpressions INTEGER )
Function to specify the total size in number of impressions.
Specifies the total size in number of impressions of the document. An "impression" is the image (possibly many print stream pages in different configurations) imposed onto a single media page. The jobImpressions attribute describes the size of the job. This attribute is not intended to be a counter; it is intended to be useful routing and scheduling information. The printer may try to compute the attribute's value if it is not supplied. Even if a value is supplied, the printer may choose to change the value if the printer is able to compute a value that is more accurate than the supplied value. The printer may be able to determine the correct value for the jobImpressions attribute right at job submission or at a later time. Unlike the fgl_report_setPrinterJobMediaSheets function, the value must not include the multiplicative factors contributed by the number of copies, specified by the fgl_report_setPrinterCopies function. Setting this option reduces the set of usable printers to those matching it.
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.