fgl_report_setPrinterSides

Specify the mapping of pages on the physical media.

Syntax

fgl_report_setPrinterSides(
   sides STRING)
  1. sides - One of: one-sided|two-sided-short-edge|two-sided-long-edge

Usage

Function to specify the mapping of pages on the physical media.

Specifies how print-stream pages are to be imposed upon the sides of an instance of a selected medium, i.e., an impression.

  • one-sided: Imposes each consecutive print-stream page upon the same side of consecutive media sheets.
  • two-sided-short-edge: Imposes each consecutive pair of print stream pages upon front and back sides of consecutive media sheets, such that the orientation of each pair of print stream pages on the medium would be correct as if for binding along the short edge.
  • two-sided-long-edge: Imposes each consecutive pair of print stream pages upon front and back sides of consecutive media sheets, such that the orientation of each pair of print stream pages on the medium would be correct as if for binding along the long edge.

By default, this is 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.