fgl_report_setPrinterPageRanges

Specify the ranges of pages to print.

Syntax

fgl_report_setPrinterPageRanges(
   pageRanges STRING )
  1. pageRanges - page ranges following the syntax [1-9][0-9]*-[1-9][0-9]*(, [1-9][0-9]*-[1-9][0-9]*)*

Usage

Function to specify the ranges of pages to print.

Specifies the ranges of print stream pages that the printer uses for each copy of the document printed. Nothing is printed for any pages identified that do not exist in the document. Default: "not set" (everything is printed). Setting this option reduces the set of usable printers to those matching it.

Fails if argument does not follow syntax.

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.