Need to customize window based print dialog (JasperPrintManger.PrintReport)
Posted on August 22, 2019 at 9:04am
I need to customize the window based Print dialog. My code is using JasperPrintManager.PrintReport(JasperReport, ture) which displays a window based print dialog.
I need to disable/hide the "number of copies" and "Print to file" option. How can I do this using through jasper code ?
Posted on August 26, 2019 at 4:45pm
Check out the JasperReports Ultimate Guide.
There is documentation there of net.sf.jasperreports.engine.export.JRPrintServiceExporter, which is more flexible than the JasperPrintExporter.