SRW.SET_PRINTER_TRAY
built-in procedureThis procedure specifies the name of a valid printer tray and can be used to switch to different printer trays as your report formats.
SRW.SET_PRINTER_TRAY('tray');
Parameter |
Description |
tray |
Is the name of a valid printer tray and can be used to switch to different printer trays as your report formats. |
If you use SRW.SET_PRINTER_TRAY
in the Format Trigger of an object,
the printer tray will be changed on the page where the object is printed.
The printer tray you specify remains in effect until you change it in a subsequent
trigger.
SRW.SET_PRINTER_TRAY
should only be set in the following triggers:
If you use SRW.SET_PRINTER_TRAY
in
the Before or After Form triggers, you will get an error for incorrect context.
PRINTER_INTRAY
is ignored when outputting reports to a PCL
printer on UNIX.
This example sets the printer tray in a Between Pages trigger.
function BetweenPages return boolean is
begin
SRW.SET_PRINTER_TRAY('letterhead');
return (TRUE);
end;
About the
Reports Builder built-in package (SRW
)
Copyright © 1984, 2005, Oracle. All rights reserved.