There are no built-in CSS features for this.
Idea:
Perhaps you can try wrapping each of your reports in a div and then use something like jquery to develop a height div to determine if it ends on an odd page.
If it ends on an odd page, then enter an empty div with a page break class after that, so that it moves to the next page.
EDIT
Obviously, this will only work if you know which pages print to the destination printer. There is no magic answer that will only work for all scenarios.
- 72 dpi (web) = 595 X 842 pixels
- 300 dpi (print) = 2480 X 3508 pixels ("210 mm X 297 mm @ 300 dpi")
- 600 dpi (print) = 4960 X 7016 pixels
You need to experiment a bit with the default printer settings to find out what works for you / your clients. If there are several scenarios, you can let them choose from the drop-down list.
So, you should use jquery to check the height of the pixel div, check it to the height of the page pixel to see if the div ends on an odd or even page, then enter page breaks if the report ends on an odd page.
You also need to know in advance if the user will use duplex printing - because you will need to do this only for duplex printing. A.
source share