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

Printing smartform

Former Member
0 Likes
360

Hi experts,

I am trying to print a smartform but I am not getting it out of the printer.

gw_control_param-no_open = false.

gw_control_param-no_close = false.

gw_control_param-langu = sy-langu.

gw_control_param-device = 'PRINTER'.

gw_control_param-no_dialog = true.

gw_control_param-preview = false.

gw_output_options-tddest = 'LOCL'.

gw_output_options-tdimmed = false.

gw_output_options-tdnoprev = true.

gw_output_options-tdnoprint = false.

gw_output_options-tdnoarch = false.

gw_output_options-tdiexit = false.

I use the parameters above but it doesn't come out of the machine.

what am I forgetting?

regards, Wim

2 REPLIES 2
Read only

valter_oliveira
Active Contributor
0 Likes
345

Hello.

Did you check tcode SP02? Since you are passing: "gw_output_options-tdimmed = false", the print will go to spool before going to the printer.

If you want it to print immediatly use gw_output_options-tdimmed = 'X'.

Regards.

Valter Oliveira.

Read only

0 Likes
345

Thanks,

my question is answered.

I am getting a screen when printing with the printjob but that is not so bad.

regards,

Wim