cancel
Showing results for 
Search instead for 
Did you mean: 

how to avoid print configuration screen

Former Member
0 Kudos

Hi everybody,

I'm executing a program which has to print two smartforms, one followed by the other, but I don't want the printing configuration screen before printing each one, I want it only to appear in the first one and then inherit printing parameters in the next smartform and avoid the screen.

How can I do this? I think that is by using output_options parameter but I don't know exactly how.

Many thanks,

Cristina.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

I understand that you have your own program that triggers both Smartforms, one after the other, right?

Try this:

In your program trigger the first smartform (and have the print config screen popup)

WITHIN that smartform you trigger the second Smartform and suppress the the config screen.

Since the output options are know at this point you can pass them to the second smartform.

I hope it helps,

regards,

Joris Bots

Former Member
0 Kudos

or:

In the first smartform transfer the output options as EXPORT parameters back to your program, so you can use them for the second SF.

Regards,

Joris Bots

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In the code before the function module of second smartform,

Pass 'X' to CONTROL_PARAMETERS-NO_DIALOG

and pass the printer name to CONTROL_PARAMETERS-DEVICE.

This should solve your requirement.

Pls. award points if helpful.

Thanks,

Krish