Duplex: Prevent next page from printing on backside of previous page
I work on a report with multiple designed pages with different content.
Those pages are set to print duplex (Duplex dmNone).
When the content of page1 fits on one page for example (or the page number of last sheet og page 1 is odd), page2 starts printing of the backside of the same sheet as page1.
For all the designed pages of the report I'd like to print those pages starting with the front side of a new sheet, but then duplex in case of more than one page to be printed. How can I do that?
Best regards
Gregor
Comments
G'day Gregor,
I don't know if it helps, but we went through a similar exercise (with older products) six years ago, needing to start each sub-report on an odd-numbered page, and to display "Page n of mm" in the Page Footer.
The thread is still viewable here at:
https://forum.fast-report.com/en/discussion/14332/composite-report-built-from-multiple-existing-reports
The key thing is to have a global variable tracking the page number and then to use PreviewPages.AddEmptyPage (0) to create the "filler" if the "Current Page Number" is an Odd Number.
Cheers, Paul