print report directly [message #88781] |
Mon, 17 March 2003 16:29 |
salman
Messages: 22 Registered: March 1999
|
Junior Member |
|
|
hi
i need ur help.......
iwnt to print my report directly from my form without running
the product i mean without see the report in the screen
just print it on apaper directly thank u
salman
|
|
|
Re: print report directly [message #88980 is a reply to message #88781] |
Tue, 15 July 2003 07:49 |
Rahman
Messages: 40 Registered: July 2003
|
Member |
|
|
A.A.W.W
go to REPORT navigator in ur FORM & create a report like 'My_Report' & change My_Report's following properties as
FileName - : c:Ur_Report_file_name (with full path)
Execution Mode : batch
Communication mode : Asynchronous
Report Destination Type: Printer
Report Destination Name: PrinterName, PortNo:
(e.g. HPmisOnMismain,\MISMAINHPmis:)
& then in ur PrintButtons's When Button Press trigger
write the following
DECLARE
V_Rep VARCHAR2(100);
begin
V_Rep := RUN_REPORT_OBJECT('My_Report','default');
end;
now it'll directly send the output to printer.
enjoy
bye
rahman
|
|
|
Re: print report directly [message #89073 is a reply to message #88781] |
Thu, 21 August 2003 20:49 |
a. hashem
Messages: 1 Registered: August 2003
|
Junior Member |
|
|
u can change the destype(system parametars ) to printer(in report builder) and don't do anything in the form trigger ....so the output will go to the printer direct ...
|
|
|