File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Unified Printing API - JSR6 and the fly likes JasperViewer Print Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java JSRs » Unified Printing API - JSR6
Bookmark "JasperViewer Print" Watch "JasperViewer Print" New topic

JasperViewer Print

dushantha Rathnayake
Ranch Hand

Joined: Feb 27, 2010
Posts: 103

I am new to jasper. In my case I want to display the report using JasperViewer and detect the print button action of JasperViewer object. I mean i want to detect, user click the print button or not. Is it possible or not.

Thank you.
Supun Lakshan Dissanayake
Ranch Hand

Joined: Oct 26, 2012
Posts: 131

I guess it is impossible.
But if you need to print report by your java program, use JasperPrintManager to do it.

Are you better than me? Then please show me my mistakes..
I agree. Here's the link:
subject: JasperViewer Print
Similar Threads
regarding jasper reports
Please Help: Java Printing Question
Jasper report - ireport but in java class - dynamic report using jasper report api
how i use ServletOutputStream
While mouse button is pressed