I have a report with 2 pages. Second page is printed optionally (only when my document has parameter Print2Page=true).
The first page may be printed physically on several sheets (it depends on the amount of input data).
As we print on both sides of paper sheet, I need to secure that the 2.page of the report will be printed always on a new sheet of paper,
it means on a odd-numbered page.
Thank you for your advice.
How to print second page on a new sheet of paper
Re: How to print second page on a new sheet of paper
Hello.
You could use next code on the Before Print event of the Page2.
Here is a sample report template.
Thank you.
You could use next code on the Before Print event of the Page2.
Code: Select all
if (PageNumber % 2 == 1)
Engine.NewPage();
Thank you.
- Attachments
-
- NewPage.mrt
- (6.2 KiB) Downloaded 311 times