cancel
Showing results for 
Search instead for 
Did you mean: 

i want to print form directly with out using spool request

Former Member
0 Kudos

hi,

i want to print form directly with out using output type screen (spool request or print preview ) , i want to supress the screen and get output directly to the printer. plz help me

thanks&regards

praveen

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

tehre i=s an option PRINT IMMEDIATELY

set that equal to X

you will get the desired.

thanks

vivekanand

former_member196280
Active Contributor
0 Kudos

Regards,

Sairam

former_member196280
Active Contributor
0 Kudos

Set control_param-no_dialog = ''.

control_param-preview = ''.

control_param-getotf = ''.

and pass it to your smartform control_parameters

Regards,

SaiRam

Former Member
0 Kudos

Hi Praveen,

In your program, where you are calling the OPEN_FORM function.. pass the name of the printer in the 'DEVICE' parameter of the function module..

Also, there is a parameter OPTIONS of sturcture ITCPO in the same function module.. in this parameter you will find lot of options to set properties for the printing..

There will be one field for immediate printing, set that field to 'X' and other settings for print in the same structure and pass to the function module..

Thanks and Best Regards,

Vikas Bittera.

Former Member
0 Kudos

hi,

For smartforms declare a variable of ctrl_parm type ssfctrlop.

ctrl_parm-no_dialog = 'X'.

Pass ctrl_parm when calling the smartforms. It comes under import parameter in Form interface.

Hope this works.

Regards,

Mallick

Former Member
0 Kudos

hi praveen,

set the print-immediately option equal to 'X'.

hope this may work...

please reward incase usefull...

Regards,

Prashant