I would need your help. Now I am participating at a Web Dynpro project and one task is to realize PDF transformation and printing of Web Dynpro forms.
That means we would place a button on the form called "Transform to PDF". If a user push this button in the browser, the page he is seeing has to be transformed into the PDF format and later printed as a normal PDF file.
What is the best way to implement this?
There is no real alternative for the 'print screen' in WD4A, or the 'print' button (CTRL-P). But what you could do (if there are not too many screens to be printed) is this:
Create a smartform (or adobe form for that matter), and call this after the print button is pressed. Display the smartform as preview, for where it can be printed via adobe reader.