Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Default Set Printer

Former Member
0 Likes
527

Dear Experts,

I am fetch the data Driver Program Printing the data in Smartforms.in each and every time run the Program We have Specified PRINTER Name.(This is the Issues.) My case Is one Time Program Will be Running Directly GO The Smartforms And Print The Records.Dont Want Printer Name.

PLZ Help me.

Printer Name Directly Hot Code Is Possible Or Not. If Possible Please Tell Me.

OR Any Other Possible .

Regards,

raj.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
491

Hi,

In the CALL UNCTION of smartform FM, set output options parameter to set the printer name.The O/p options isof the type SSFCOMPPOP which has the field TDDEST. Set TDDEST field to ur default printer

name.

Hope it helps.

Regards,

Rohit

3 REPLIES 3
Read only

Former Member
0 Likes
492

Hi,

In the CALL UNCTION of smartform FM, set output options parameter to set the printer name.The O/p options isof the type SSFCOMPPOP which has the field TDDEST. Set TDDEST field to ur default printer

name.

Hope it helps.

Regards,

Rohit

Read only

Former Member
0 Likes
491

Hi

Fill the following structure and pass it to the function module

wa_param-no_dialog = 'X'.

wa_param-preview = 'X'.

wa_options-tdnoprint = 'X'.

wa_options-tdnewid = 'X'.

wa_options-tddest = g_spld.

wa_options-tdimmed = 'X'.

CALL FUNCTION fm_name

EXPORTING

control_parameters = wa_param

output_options = wa_options

*Rest of the patameter will be as per ur need.

Thanks

Vishal Kapoor

Read only

Former Member
0 Likes
491

Hi,

Check for VV31 Tcode.

It will offer you to bind o/p type with Doc type.

and will also ask you save for default printer for the same.

-Maharshi