fgl_report_setPrinterMediaName

Select the type of media to use.

Syntax

fgl_report_setPrinterMediaName(
  mediaTray STRING)
  1. mediaTray - one of: iso-a4-transparent|iso-a4-white|na-letter-transparent

Usage

Function to select the type of media to use.

Controls the type of media to choose. This function and the functions fgl_report_setPrinterMediaSizeName and fgl_report_setPrinterMediaTray are mutually exclusive. Default: "not set" 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.