2005 IR Help Posted August 26, 2006 Share Posted August 26, 2006 By: Michael - seimic JRPrintServiceExporter and PrintDialog 2004-05-10 05:50 Hi, does anybody know, how to determine whether the user printed a report or canceled the print-dialog? I print reports as follows: JRPrintServiceExporter exporter = new JRPrintServiceExporter(); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG, Boolean.TRUE); ... // few more properties and the report itself exporter.exportReport(); The Methode exportReport() in JRPrintServiceExporter does not return anything (void) I need to ask the user whther the printing was successful or not. I want to avoid this unnecessary question, when a user cancels the print-dialog. Thanks in advance, Michael Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now