Application Development 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: 

While calling Smart form Print pop up appearing Only one printer not all

former_member196331
Active Contributor
0 Kudos

hi.

I am calling smart forms. While calling FM
control_parameters = gs_control_parameters , I am passing NO_DIALOG = 'X'
output_options = gs_output_options ,I am passing TDDEST = 'Printer Name'

here strange thing is . if i give only one specific printer name.. the below pop up message is coming.
I am sure.. printer names i am giving correctly. and Spool is generating correctly.
but why only one printer. below popup message is coming.I did not understood.

If u have any suggesiton. Plz update me, properties i checked have not seen any difference between
below printer and others. should i ask basis guy to solve the issue.

3 REPLIES 3

stanislaslemaire
Participant

Hello,
I guess it's because you use a frontend printer (device type SWIN), with print immedliatly flag set.
No ?

Jelena
Active Contributor
0 Kudos

I'm guessing this is because of the way printer is configured in SPAD. Some printers can be configured as "generic Windows printer", so to say, and then a user is presented with a pop-up.

former_member196331
Active Contributor
0 Kudos

HI, Thanks for your help.

Data:gs_output_options TYPE ssfcompop, " Smart Composer

gs_output_options-tddest = p_prntr. 'Printer name "PASSING

gs_output_options-tdimmed = c_x. 'X' "PASSING

If i comment gs_output_options_tdimmed ... now it is not showing that pop up message.
May i know , why it is not showing to other printers. u added Device type Swin. this one not understood. I have not added like 'Pritner' like any where in the code.

Thank u.