Problem : Browser Open After I Print Report (Direct Printing) IS there Solution [message #422023] |
Sun, 13 September 2009 13:46 |
medosa
Messages: 6 Registered: February 2009
|
Junior Member |
|
|
Problem : Browser Open After I Print Report (Direct Printing) IS there Solu
I Wrote A code to print report direct printing when i press a button the report is printed directly at the printer without any thing open
but a browser is open after the report is opened .
is there any solution to stop this browser from appearing when i print the report .
i use oracle forms 10g and reports in 10g .
and i use this library to print reports (" rp2rro ")
and this is the code that i write in the print button to print report directly
pl := create_parameter_list('PARAMLIST');
add_parameter(pl,'x',text_parameter,:value1);
add_parameter(pl,'PARAMFORM',TEXT_PARAMETER,'NO');
--This to specify the server that i will use to print the report over.
rp2rro.setReportsServer (call_rep_server(user));
rp2rro.setDesformat ('pdf');
-- these settings i configured inside the code
--destype=printer
--desname=\\200.200.200.22\hp2200
rp2rro.rp2rro_run_product(reports,'sticker',synchronous,runtime,filesystem,pl,'');
After i click print the report is printed directly to the printer i specified but after that the browser open with strange data like jobid and other data and strange characters i don't want this browser to open after i print the report is there any solution .
|
|
|
|
|
|