fgl_report_setPrinterJobPriority

Specify a priority for the job.

Syntax

fgl_report_setPrinterJobPriority(
   jobPriority INTEGER)
  1. jobPriority - priority of the job. Fails if the argument is not between 1 and 100.

Usage

Function to specify a priority for the job.

If supplied, the value specifies a priority for scheduling the job. A higher value specifies a higher priority. The value 1 indicates the lowest possible priority. The value 100 indicates the highest possible priority. Among those jobs that are ready to print, a printer must print all jobs with a priority value of n before printing those with a priority value of n-1 for all n. Default: "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.