Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Simultaneous reports printing using jasper reports

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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


 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One can be Primary that is main report and another can be inserted as sub-report to it.
Can be easily design with iReport.
 
kiranb reddy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 sure was nice of your sister to lend us her car. Let's show our appreciation by sharing this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic