fgl_report_setPrinterMediaTray

Select the tray of the printer.

Syntax

fgl_report_setPrinterMediaTray(
  mediaTray STRING)
  1. mediaTray STRING - one of: bottom|envelope|large-capacity|main|manual|middle|side|top

Usage

Function to select the tray of the printer.

Controls what tray to take the media from. This function and the functions fgl_report_setPrintermediaTray and fgl_report_setPrintermediaName are mutually exclusive. Setting this option reduces the set of usable printers to those matching it.

Fails if the argument is not one of the specified values.

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.