Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Reports v3 or v6 and the Windows Print Dialog
Okay, I have a report that is being launched from Forms. I want the
parameter screen suppressed (easy enough), but I want the Windows Print
Dialog to appear so the user can pick the printer the report shoudl go to.
Using the following code in a program unit, I launch the report:
list_id := create_parameter_list('input_params');
add_parameter(list_id,'PARAMFORM',text_parameter,'NO'); add_parameter(list_id,'DESTYPE',text_parameter,'Printer'); add_parameter(list_id,'DESNAME',text_parameter,' '); add_parameter(list_id,'COPIES',text_parameter,'1'); add_parameter(list_id,'PRINTJOB',text_parameter,'YES'); add_parameter(list_id,'PNBR',text_parameter,:printdiag.equpmnt_prmt_nbr); add_parameter(list_id,'DBSRC',text_parameter,:global.db_source); run_product(REPORTS,'permits',SYNCHRONOUS,RUNTIME,FILESYSTEM,list_id);destroy_parameter_list('input_params');
![]() |
![]() |