wood burning stoves*
The moose likes Other Java Products and Servers and the fly likes Simultaneous reports printing using jasper reports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Simultaneous reports printing using jasper reports" Watch "Simultaneous reports printing using jasper reports" New topic
Author

Simultaneous reports printing using jasper reports

kiranb reddy
Greenhorn

Joined: Sep 28, 2008
Posts: 20
Hi All,

I have a requirement to print the jasper reports simultaneously, i have two jrxml files which are need to be printed one after other and each have its own parameters.

For example: one.jrxml
two.jrxml

The report should be printed in one.pdf than
two.pdf
Could any one give suggestions for my above requirement.

Thanks and Regards,
Naveen Chanda


eshu khare
Ranch Hand

Joined: Aug 01, 2008
Posts: 44
One can be Primary that is main report and another can be inserted as sub-report to it.
Can be easily design with iReport.


Thanks & Regards
Eshu Khare
kiranb reddy
Greenhorn

Joined: Sep 28, 2008
Posts: 20
Hi,

By using the sub report concept, we can print , but my case is printing the reports one by one i.e, if first template(1) printing completed than, other template (2) must be called and printed simultaneously.

Hope, you have understand my requirement.
Thanks,
Naveen
eshu khare
Ranch Hand

Joined: Aug 01, 2008
Posts: 44
Hi Naveen,
I have got what you are lookin to do.
To print a jasper report first we load it in interface.
And as far as I know in jasper interface one report can be loaded at a time
so-wise one can be printed at a time.
If you are able to figure out the way kindly let me know.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Simultaneous reports printing using jasper reports