Need to customize window based print dialog (JasperPrintManger.PrintReport)

0

Hi, 

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 ?

 

Thanks, 

Khushboo

 

srivastava.08mca's picture
Joined: Aug 22 2019 - 7:23am
Last seen: 1 month 16 hours ago

1 Answer:

0

Check out the JasperReports Ultimate Guide.

There is documentation there of net.sf.jasperreports.engine.export.JRPrintServiceExporter, which is more flexible than the JasperPrintExporter.

swood_1's picture
420
Joined: Nov 15 2012 - 10:47am
Last seen: 5 hours 5 min ago
Feedback
randomness