I had a requirement where i need to print the pdf which will generate dynamically.I was able to generate the pdf dynamically depending on user interaction.I was stuck up with some problem on how to give the print functionality to that pdf when uder clicks on print button i n a jsp.Please help me on this task.
which API you are using for generating dynamic PDF's ?
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
Joined: Apr 17, 2008
I am using IText api
Joined: Mar 28, 2007
Below is code sample that includes closing the document after printing. so virtually to users it appears as if the document never opened.
An important point to realize is that the web app (and the PDF) have no control over whether the user opens it, saves it or prints it. There's nothing the web app developer can do to make the document print on the client side, if the user chooses not to do that.