Page 1 of 1

how get direct print

Posted: Sat Nov 18, 2006 3:11 am
by mfa786
Hi master,

Sir I have report that contain two page sir my need is I not want preview I want direct print and not want all page my requirement only page 2 not want page 1

Sir please give me idea how I get direct print and only page no 2

Thanks aamir

Posted: Sat Nov 18, 2006 5:43 am
by ahmadbilal
Which Version and output method u r using

Posted: Sat Nov 18, 2006 10:19 am
by mfa786
thnks for your reply
sir i use oracle form 6i and report also

and use this method




declare
emppara paramlist;
begin


emppara :=create_parameter_list('aamir');
Add_Parameter(emppara, 'PARAMFORM', TEXT_PARAMETER, 'NO');
add_parameter(emppara,'p_1',text_parameter,:ysdate);
add_parameter(emppara,'p_2',text_parameter,:yedate);
add_parameter(emppara,'p_3',text_parameter,:acode);
add_parameter(emppara,'p_4',text_parameter,:syid);
Run_Product(REPORTS, 'd:\iqramfa\expbugvari', SYNCHRONOUS, RUNTIME,FILESYSTEM,emppara, NULL);


Destroy_Parameter_List(emppara);

end;



sir please give me idea

thanks

Posted: Fri Nov 24, 2006 9:57 am
by Kashif
Add this Parameter in ur Parameter List for directprinting

Add_Parameter(emppara, 'DESTYPE', TEXT_PARAMETER, 'PRINTER');