‎2004 Dec 22 2:52 PM
Hello,
I open a smartform from a custom print programm using control_parameters and output_control with values from the message control table NAST. The parameter user_settings is set to SPACE.
I fill the parameter output_control-tddest explicitly from NAST, but however, the formular is always printed on one particular printer, our development printer.
Are there any settings which override the FM parameters?
Kind regards,
Hans
‎2004 Dec 22 3:06 PM
Dear Hans,
Though it is a basic concept,
First- Please confirm that your Default printer in your system is the one which you are expecting the output.
Second-
in Transaction SU01 check whether Default output device is set.
It will override the FM parameters.
Hope to see your problem solved.
regards,
Lijo Joseph
‎2004 Dec 22 9:03 PM
Hey Hans,
In SAP each printer has a short and long name associated with it. You might wanna check TSP03 table to get an idea.
Now check in NAST table what kind of name (Shor or long) is being stored.
If its short then assign
SSFCOMPOP-tddest = NAST-VALUE
ELSE
SSFCOMPOP-TDPRINTER = NAST-VALUE
And as you rightly did, user_setting should be space, so that it doesnot pick printer from user settings.
Inacse you still having the problem try deleting any default printer name from your user profile via SU01.
Let me know if you still have problems.
Regards,
Jeet
‎2004 Dec 23 10:28 AM
Hi Jeet,
in NAST I get the short name tddest (DW54) and I also assign it to the output_options (SSFCOMPOP).
I do not have any default printer in my user profile but I still get the formular on our development printer (D500).
Another formular (SAPScript), which is printed by another output type at the same time is printed on the correct printer.
Is there any options to specify a default printer to a whole system?
Thanks,
hans
‎2006 Sep 15 7:14 PM
Jeet's information worked great for me. Knowing NAST has the short name for our output, I tried setting SSFCOMPOP-TDDEST to the short name of a printer other than my user default printer. With USER_SETTINGS space passed with the function module call this worked great (USER_SETTINGS defaults to 'X' in my SmartForm but is evidently overridden). From a similar note I had hardcoded the long name of the printer which had not worked.
Thanks Jeet!
Jim Shupe,
IT Logistics, Eastman Chemical Company