cancel
Showing results for 
Search instead for 
Did you mean: 

SmartForms - Set Printer by default

Former Member
0 Kudos

Hi,

I'm trying to set a default printer when calling the function that allows me to print my SmartForms.

data: output_options TYPE ssfcompop.

output_options-TDDEST = 'CTR7'.

CALL FUNCTION '/1BCDWB/SF00000001'

EXPORTING

OUTPUT_OPTIONS = output_options

TABLES

IT_PALLET_LABELS = ct_label4.

IF SY-SUBRC <> 0.

However, when the funcition is called, the print that appears by default is the predefined user printer. Does anyone know how to set the printer by default?

Thanks in advance.

Nuno A.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nuno,

give user_settings as space, in the import parameters

USER_SETTINGS = ' '.

Regards,

Vidya.

Message was edited by:

Vidya Chowdhary

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Nuno,

Go to the menu bar -> System -> User Profile -> Own Data.

Then click on the Defaults tab and give the default name there

Regards,

Vidya.

Former Member
0 Kudos

Hi Vidya,

I want to user the printer I specify in the selection screen of the report, and not the user defined printer... The problem is that the function is looking to the user defined printer, and not for the printer CTR7 (according with de example)...