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

Sets the type of media to use.

Default value not set (is automatically selected).

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

This function, the function fgl_report_setPrinterMediaSizeName, and the function fgl_report_setPrinterMediaTray 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.