To switch the printer tray:
Choose FilePage Setup and
in the Source list, note the names of the printer trays
defined for your printer.
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. 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.
To change the printer tray between pages of the report, create a Between Pages trigger.
To change the printer tray for a specific page on which a particular object prints, create a format trigger for that object.
About switching the printer tray
Copyright © 1984, 2005, Oracle. All rights reserved.