JasperReports not generating second page

0

I'm using Jaspersoft Studio to generate jrxml file (used Blank A4 template to start) and then using jasperreports library in java in my microservice to generate PDF from that.

However on generating PDF, it only shows one page; all the content which overflows is getting truncated and doesn't appear. Even if I add page break anywhere in the report, all the content below it disappears and the second page doesn't show up. (Same behaviour is see when I see PDF preview in Jaspersoft studio).

 

I'm using version 6.6.0

ankish.gupta's picture
Joined: Mar 8 2019 - 4:42am
Last seen: 8 months 1 week ago

2 Answers:

0

Figured out the solution. I was adding all the data in "background" band. hence it was truncating data and not adding the next page. Once I moved data to "details" band, it generated the next page depending on split type.

ankish.gupta's picture
Joined: Mar 8 2019 - 4:42am
Last seen: 8 months 1 week ago
0

Version 6.6.0 seems to have quality problems. There's newer versions of JasperReports library but it seems like 6.6.0 is the latest for jaspersoft Studio. I've had several problems with Jaspersoft Studio 6.6.0 so I've downgraded myself.

hozawa's picture
53192
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 1 week ago
Feedback
randomness