cancel
Showing results for 
Search instead for 
Did you mean: 

skip printer window?

Former Member
0 Kudos

Hi,

I made a program to print a smartform. After the selection screen, I get the printer screen, where the user has to select the printer and the number of copies. Is it posible to skip this window and pass these variables using the selection screen?

Thx!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Yes it is possible , you can pass values in the Smart form generated FM , In Structure JOB_OUTPUT_OPTIONS pass values to these varaibles TDPREVIEW, TDDEST, TDPRINTER

Regards

Jana

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In the IMPORTING parameters of the smartforms FM there is CONTROL_PARAMETERS and OUTPUT_OPTIONS

in output_options fill the following

TDNOPREV

TDPRINTER

in control_parameters

DEVICE

NO_DIALOG

in that you populate the parameters with the selection screen details

regards

Former Member
0 Kudos

Hi,

You have to set the control parameters as

CONTROL_PARAMETERS-NO_DIALOG = 'X'

Regards,

Karthik.