Insert blank page if order ends on odd page

Stimulsoft Reports.NET discussion
Post Reply
gang.xu@attocube.com
Posts: 2
Joined: Tue Apr 04, 2023 1:09 pm

Insert blank page if order ends on odd page

Post by gang.xu@attocube.com »

Hello,

I want to insert a blank page if order items end on odd page, because we print on both sites of a paper and every order should be separately sorted.

I use databand to generate order with its items, every order begins with new page, and ends with page number in footerband. I also reset page number for each order. All thats working fine.

But if I try to add blank page if order ends on odd page, it fails. I tried to use the parameter TotalPageCount mod 2 in footerband, but for the expression TotalPageCount mod 2 I can only get the totel page number.

How can I add blank page in this case?

Thanks a lot for your help in advance!

Best regards,
Gang
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Insert blank page if order ends on odd page

Post by Lech Kulikowski »

Hello,

Please try to set the NumberOfPass=DoublePass for the report.
If the issue is still present, please send us a sample report for analysis.

Thank you.
gang.xu@attocube.com
Posts: 2
Joined: Tue Apr 04, 2023 1:09 pm

Re: Insert blank page if order ends on odd page

Post by gang.xu@attocube.com »

Hello,

thanks for your anwser. Could you tell me please, where can I find the parameter NumberOfPass? In PageFooterBand, DataBand or somewhere else?

Best regards,
Gang Xu
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Insert blank page if order ends on odd page

Post by Lech Kulikowski »

Hello Gang Xu,

The property of the report.

Thank you.
Attachments
Screenshot 2023-04-18 103407.png
Screenshot 2023-04-18 103407.png (74.89 KiB) Viewed 618 times
Post Reply