Report does not break data when exporting through Java

Stimulsoft Reports.JAVA discussion
Post Reply
jdrc8
Posts: 3
Joined: Thu Mar 04, 2021 1:29 am

Report does not break data when exporting through Java

Post by jdrc8 »

I have a report like this, where I set everything I could to CanBreak=true.
Image

If I go to preview, the generated report is exactly what I wanted:
Image

But then I print the exact same report from your Java library, and I get these spaces between pages:
Image

I tested PDF, HTML and PNG, and the same thing happens with all of them. What is going wrong? I'm trying to print tickets without visible seams.

Also I'm trying to upload my MRT file but I get the error message "The upload was rejected because the uploaded file was identified as a possible attack vector.", so I uploaded it to Mediafire:
https://www.mediafire.com/file/ht2pfkmz ... t.mrt/file
Attachments
report_data.json
(23.84 KiB) Downloaded 155 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Report does not break data when exporting through Java

Post by Lech Kulikowski »

Hello,

You can set the following option:
com.stimulsoft.report.options.ExportOptions.Pdf.setDivideSegmentPages(boolean)

Thank you.
Post Reply