Reporter
Tailoring a Report’s Appearance
148 5967–9446
When defining the page header and footer, you can include variables that
are replaced when the report is generated. Table 21 on page 149 lists
these variables.
Special Variables: DISPLAY, LPDEST, PRINTER
Reporter lets you reference several variables from your environment,
including DISPLAY, LPDEST, and PRINTER.
However, these variables may not be defined when the report is gener-
ated via cron. Similarly, if another user copies one of your reports, that
user’s definition for DISPLAY, LPDEST, and PRINTER may be different
from yours.
To avoid problems when using these variables, Reporter handles the
variables in a special way. The current definition of these variables (if
any) is always written in the report definition file when the report is
saved, overriding any previous value that was saved.
When the report is generated, the variable is evaluated and its defini-
tion, if any, is used. If the variable is undefined, then Reporter uses the
definition that was saved in the report file.
Comments to this Manuals