joerg.behrend Posted August 29, 2022 Share Posted August 29, 2022 Hi guys,I have a (print) report with two areas.There must be a page break between the areas.Both areas themselves do not have a fixed page layout.Use case:Imagine a receipt - a small strip of paper of variable length.The customer receives part 1, the cashier keeps part 2.Problem:Both parts are of different lengths and should not have breaks.That's why I set ignore pagination = true.I added the following report property manually <property name="net.sf.jasperreports.page.break.no.pagination" value="apply"/>and added a break element in the summary band.Surprise - the viewer displays two pages, but both are blank.Hope for help Link to comment Share on other sites More sharing options...
joerg.behrend Posted August 29, 2022 Author Share Posted August 29, 2022 I'm using Jaspersoft Studio 6.18.1 and 6.9.0 - the problem is in both versions. Link to comment Share on other sites More sharing options...
zellers Posted August 30, 2022 Share Posted August 30, 2022 I think what you are trying to create requires two different page sizes in one report which as far as I know is not possible. Link to comment Share on other sites More sharing options...
Solution yama818 Posted August 30, 2022 Solution Share Posted August 30, 2022 I most likely do not understand your requirements.However, you can use the 'Report Books' feature to achieve page-by-page resizing.* Manualhttps://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v790/report-books* YouTube Link to comment Share on other sites More sharing options...
joerg.behrend Posted August 31, 2022 Author Share Posted August 31, 2022 I have never used ReportBooks before.But it works fine! Thank a lot yama818However, I had to make an additional extension in the jasper_extensions.properties file--> see here: https://stackoverflow.com/questions/67900913/jasper-report-no-part-components-bundle-registered-for-namespace 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