Jump to content
We've recently updated our Privacy Statement, available here ×

Printing multiple reports in one go


2005 IR Help

Recommended Posts

By: Gurrie - gurrie

Printing multiple reports in one go

2004-10-05 09:22

Hi,

 

I need to print multiple reports in one go. i.e. User selects a list of reports to print, are presented with the printer selection dialog once and the list of reports is printed to the selected printer. Is this possible?

 

I have tried the following but it doesn't seem to work :

 

JRPrintServiceExporter exporter = new JRPrintServiceExporter();

exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, jasperReports);

exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG, Boolean.TRUE);

exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PAGE_DIALOG, Boolean.FALSE);

exporter.exportReport();

 

Any help would be greatly appreciated

 

Thanks

Brian

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...