Insert blank page if order ends on odd page
Posted: Tue Apr 04, 2023 1:26 pm
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
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