on 05-06-2010 6:46 AM
I have a query regarding print parameters. We make use of the function module 'GET_PRINT_PARAMETERS' to pass certain details like output device, layout, etc and import the print parameters. In this module, I would like to pass the windows printer name also so that I dont have to select the printer and it as default in Control Panel -> Printers and Faxes, in order to run the report into that printer only.
Please clarify.
Regards,
Tom Jerry
thread closed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tom,
This is not possible as the the list of Frontend printer names is retrieved by a GUI control at runtime when you use __DEFAULT in the Host Printer field for the output device. definition.
You can disable the selction of the Wi ndows printer by the following setting:
SAPD -> Output Devices -> <Output Device Name> > tab Access Method -> Flag 'No Device Selection at Frontend'
If you check this flag, there is no selction of frontend printers and it always uses the default windows printer on the user's PC.
Another possibility if you want a certain printer to be always used is to create a Frontend output device that has the specific printer specified in the Host Printer field in the output device instead of __DEFAULT.
So if you create an output device and put the actual windows printer name into the field 'Host printer', then this printer will be used.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the form interface of the smartform you have a structure SSFCTRLOP.
Use this to pass the print parametres .You can declare a work area of the same type and in field Device give the name of the printer.This needs to be done in the print program before passing to the smartform.
Revert in case of any queries.
Regards,
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.