on 07-12-2009 11:32 PM
Hi Experts,
My webdynpro application(runs within SAPGUI) is to print the smartform in local user printer. I'm using function module rspo_frontend_printer_for_dev to find the local windows printer. This function module logic is running fine in SE38 ( ABAP editor) to get the default windows local printer name in export parameter value in prdefault <longprintername> but if I use the same function module in Webdynpro application it give export parameter value in prdefault <__default> (which is not giving the longprintername).
How do I get the local windows default printer by using this function module or Is there any other approach I need to follow to get the printer name?
Note: This application does not required PDF print preview. I have also used submit program logic in webdynpro to call zreport program(using same function module) to find the local windows printer name but it give the same output prdefault = <__default> .
Your help is highly appreciated.
Thanks,
Raj
Like the local printing itself, you have no access to any local printer information when running Web Dynpro. This is achieved in classic dynpro via the desktop application - SAPGUI. However in WDA, you have no connection to the SAPGUI and very limited access to the desktop because you are running within the security sandbox of the web browser.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.