Print duplex group data
Posted on 2013-11-06
I have a report with several hundred pages.
Report layout is something as :
Report Header, Page header, Group1 Header, Detail section then
I divided Group1 footer in several sections as I needed some spacing :
I have several Group footers
Group Footer 1_a ,
Group Footer 1_b,
Group Footer 1_c,
Group Footer 1_d,
Group Footer 1_e.
Then I had Page footer, report footer.
I had page number reset at last sub section of group1 at Group Footer 1_e.
Number of pages for a group depending on data can go from at least 2 to the most as 5 or 6.
Context of section of Group Footer1_e I want to be on one side of page.
It is preset empty grid- table that user will use to fill data in and it fit on one page not broken on two pages and that is reason that I put New page before in this section.
Everything was ok up to user decided that it is to much paper for print and wants to save on paper and print duplex on both side of paper.
He wants that first page of group always has to be on front side of paper never on back side, does not matter how many pages group has 2,3,4,5,6.
At the same time section of Group Footer1_e has to be on one side of pages not broken on two sides.
I got suggestion to check in Group Footer1_e New page After and put this in x-2 PageNumber MOD 2 = 1
However in case when group has 3 pages page# 1 of next group is printed on back side of page2 instead on front side of next page ,back side of page two has to be empty. The same is as group has 5 pages third page back side has to be empty.