Start on an odd or even page
Ensure that part of your report starts on an odd or even page. For example, a batch of invoices are printed in duplex mode, so a new invoice must always start on an odd page.
The following PXML Boolean functions, in the X-Size or Y-Size properties, reveal whether an object starts on an odd or an even page:
oddPhysicalPage()
yields TRUE if, when the size is computed, the total number of physical pages (including the page currently under construction) is odd.evenPhysicalPage()
yields TRUE if, when the size is computed, the total number of physical pages (including the page currently under construction) is even.
Note:
Objects can spill over to subsequent pages. An object for which
oddPhysicalPage()
yielded TRUE might end on an even page in the final document.