on 09-18-2014 3:53 AM
Hello Experts,
I need to print a view of a WD Component view.
Can you please suggest any ways of doing the same.
Below attached is the view screenshot which is needed to printed.
The requirement is to have an additional button on the component itself, which will popup a window which would contain a PDF format of the view and some additional info regarding the same.
Please suggest some way to tackle this.
Thanks in advance.
Regards,
Sanket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanket,
Yes, you display that particular page in a pop up window.
Create a button "Print" in pop up window and on action, go ahead with either of below option
Option 1: print whole page using print application option ( here no need of designing it, it just prints visible area of current page, note it also prints buttons as well )
Logic:
data:
l_api_componentcontroller type ref to if_wd_component,
l_appl type ref to if_wd_application.
l_api_componentcontroller = wd_comp_controller->wd_get_api( ).
l_appl = l_api_componentcontroller->get_application( ).
l_appl->print_page( ).
Option 2: Design adobe form and call the adobe form on action of PRINT button
Regards,
Rama
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.