Printing a report on a preprinted form Switching the printer tray Printing a report on UNIX

How To... 4-47 2. Display your report output in your Web browser see Section 4.7.16.4, Displaying report output in your Web browser .

3. Choose File Print.

See also Section 1.2.2, About Web Reports Section 2.2.2, About previewing JSP-based Web reports Section 2.2.11, About style sheets

4.7.17.4 Printing a report on a preprinted form

See the example report in Chapter 32, Building a Report Using a Preprinted Form .

4.7.17.5 Switching the printer tray

To switch the printer tray:

1. Choose File Page Setup and in the Source list, note the names of the printer

trays defined for your printer. 2. Use SRW.SET_PRINTER_TRAY to define the desired trigger: ■ To change the printer tray before the report begins formatting, create a Before Report trigger see Section 4.13.3.5, Creating a report trigger . ■ To change the printer tray between pages of the report, create a Between Pages trigger see Section 4.13.3.5, Creating a report trigger . ■ To change the printer tray for a specific page on which a particular object prints, create a format trigger for that object see Section 4.13.4.1, Creating or editing a format trigger . See also Section 2.8.6, About switching the printer tray

4.7.17.6 Printing a report on UNIX

Printing on UNIX requires some setup and configuration to create the proper printing environment. For detailed information about printing your reports on UNIX, refer to the chapter Printing on UNIX with Oracle Reports in the Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services manual. Oracle Reports 10g 9.0.4 introduced the following enhancements for printing reports on UNIX: ■ The REPORTS_DEFAULT_DISPLAY environment variable, which provides for the removal of dependency on the DISPLAY environment variable. Prior releases of Oracle Reports required the DISPLAY environment variable to be set to run and print reports on UNIX. ■ The PostScript printer driver screenprinter.ppd, which eliminates the dependency on having a valid printer defined PRINTER and TK_PRINTER environment variables set to a valid printer, or a valid entry in uiprint.txt for Note: The printer tray specified in the Page Setup dialog box is used as the default printer tray; create a Before Report trigger to change this default. 4-48 Oracle Reports Users Guide to Building Reports Reports Runtime on UNIX. This driver provides surface resolution for images and specifies font information. Prior releases of Oracle Reports required a printer to resolve fonts to run and print reports on UNIX. This driver is the first entry in uiscreenprint.txt. The file locations UNIX only are: uiscreenprint.txt: ORACLE_INSTANCEconfigFRCommonfrcommonguicommontkadmin screenprinter.ppd: ORACLE_INSTANCEconfigFRCommonfrcommonguicommontkadminPPD Limitations ■ If your report includes an Oracle Graphics 6i graph, a printer is required to generate the graph. However, TK_PRINT_STATUS=echo is set in g90runm.sh. Thus, to run a report with an Oracle Graphics 6i graph without a valid printer, set the PRINTER environment variable to any value.

4.7.18 E-mailing a report