how to duplicate a report in the same page

Hello everyone! How I can duplicate the same report in the same page?

this is an example of my report:

and I need to do this: (I duplicate the report with mspaint haha)

 

I already try adding another detail band but isn't working:

 

Thanks!!!!

jodarove8802's picture
Joined: Jan 14 2017 - 9:17am
Last seen: 6 years 2 months ago

3 Answers:

How about adding the report as a subreport twice to another main report? Why do you want to duplicate?

bob.baldwin's picture
Joined: Dec 14 2016 - 2:05pm
Last seen: 5 years 5 months ago

thanks for your answer @bob.baldwin !

I want to duplicate because in my country  to print the receipt they give you this option:

so I need to print 2 times the same report in the same page.

 

 

jodarove8802's picture
Joined: Jan 14 2017 - 9:17am
Last seen: 6 years 2 months ago

If you're developing your own program with JasperReports library, you can just concatenate the reports by adding JasperReport object.

Following page has a sample code.

http://stackoverflow.com/questions/24115885/combining-two-jasper-reports

hozawa's picture
171153
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago
Feedback
randomness