This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Printing Report in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Printing Report in Struts2" Watch "Printing Report in Struts2" New topic
Author

Printing Report in Struts2

debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

hi all,

I am in a situation where i have to print some document, (document is a pdf file), I have created the pdf file on the fly, its works fine, but not able to understand how to print the pdf.
i.e. when a user click on the pdf link, the pdf file will be printed through printer.

Any help would be appreciated.
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

I am using the code below but its not working

All i need is to print the pdf file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Printing Report in Struts2
 
Similar Threads
Disable Save As in IE
PdfBox, do you have to save the .pdf to a file?
Java code printing junk characters in PDF
Printing through Javascript? Urgent!!!
SVG to multi page pdf