ankish.gupta Posted March 8, 2019 Share Posted March 8, 2019 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 Link to comment Share on other sites More sharing options...
hozawa Posted March 8, 2019 Share Posted March 8, 2019 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. Link to comment Share on other sites More sharing options...
Solution ankish.gupta Posted March 11, 2019 Author Solution Share Posted March 11, 2019 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now