Report Page with unlimitedHeight is Split into pages

Stimulsoft Reports.NET discussion
Post Reply
mvhermanni
Posts: 2
Joined: Wed Jul 12, 2023 11:15 am

Report Page with unlimitedHeight is Split into pages

Post by mvhermanni »

We want to print a report on continuous roll labels, so we do not want any page breaks.

I found a recommended solution here viewtopic.php?t=58941 with setting
Unlimited Height property of the page to True and Unlimited Breakable property to False.
report_page_defintion.PNG
report_page_defintion.PNG (265.82 KiB) Viewed 652 times
In Preview, no gaps are shown between pages and only one page header and page footer is created, but pages are generated nonetheless and indicated by blue lines.
preview_with_page_breaks.PNG
preview_with_page_breaks.PNG (117.22 KiB) Viewed 652 times
When we print that on our printer, the unwanted page breaks become visible, it also prints on separate pages on other printers or with PDF export.

When we set the page height to a very large value, we waste a lot of paper. Is there a solution or do we miss something?

The DLL we use has a version 2020.5.2.0

Kind regards
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Report Page with unlimitedHeight is Split into pages

Post by Lech Kulikowski »

Hello,

You can use the code in events to set the necessary height.

Thank you.
Attachments
Dynamical page height 2.mrt
(780.55 KiB) Downloaded 71 times
mvhermanni
Posts: 2
Joined: Wed Jul 12, 2023 11:15 am

Re: Report Page with unlimitedHeight is Split into pages

Post by mvhermanni »

This worked perfectly, thank you very much!
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Report Page with unlimitedHeight is Split into pages

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply