Select the tray of the printer.


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


Sets the printer media tray to be used.

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

Controls what tray to take the media from. This function, the function fgl_report_setPrinterMediaName, and the function fgl_report_setPrinterMediaSizeName are mutually exclusive.

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.