Page 1 of 1

Report does not break data when exporting through Java

Posted: Fri Mar 26, 2021 4:33 pm
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

Re: Report does not break data when exporting through Java

Posted: Mon Mar 29, 2021 9:01 am
by Lech Kulikowski
Hello,

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

Thank you.