Page 1 of 1

Collapse PageHeaderBand

Posted: Thu Mar 11, 2021 11:19 am
by mailo
I need PageHeaderBand to apear only first and last page. But when I set appropriate PrintOn option I'm getting empty block on the place of PageHeaderBand for all other pages except the first and the last. How to collapse this block at all (like Print Odd/Even Pages Option do)?

Re: Collapse PageHeaderBand

Posted: Fri Mar 12, 2021 2:58 pm
by Lech Kulikowski
Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.

Re: Collapse PageHeaderBand

Posted: Mon Mar 15, 2021 5:02 pm
by mailo
Hello

Re: Collapse PageHeaderBand

Posted: Tue Mar 16, 2021 8:38 pm
by Lech Kulikowski
Hello,

Thank you for the sample. We have reproduced the issue.
We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#3744

Re: Collapse PageHeaderBand

Posted: Wed Mar 17, 2021 9:55 am
by Lech Kulikowski
Hello,

in that case, you should use the following option:
StiOptions.Engine.UseAdvancedPrintOnEngineV2 = true;

Thank you.

Re: Collapse PageHeaderBand

Posted: Wed Mar 17, 2021 4:16 pm
by mailo
Hello! Now I'm getting barcode on penult page too
pattern.JPG
pattern.JPG (319.7 KiB) Viewed 2189 times

Re: Collapse PageHeaderBand

Posted: Thu Mar 18, 2021 7:23 am
by Lech Kulikowski
Hello,

There may be a conflict, when on the last page the data will fit without the header, but not with it.
Then the last rows of data are moved to the next page, and this is not the last page, so there is no need for a header. but without a header the data will fit in, so it does not need to be transferred and it is the last page.
It is a vicious circle. And in this case, the header will be displayed on the second last page.
Unfortunately, it can not be fixed.

Thank you.

Re: Collapse PageHeaderBand

Posted: Thu Mar 18, 2021 7:48 am
by mailo
Strange that this case was not taken into account during development.
Nevertheless, thank you

Re: Collapse PageHeaderBand

Posted: Fri Mar 19, 2021 7:54 am
by Sergio Museninni
Hi,
Now it works as it does. But we will take care of it in the future.
Thank you