Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing Report in Struts2  RSS feed

 
debraj mallick
Ranch Hand
Posts: 188
Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 188
Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the code below but its not working

All i need is to print the pdf file.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!