I’m creating a single sheet duplex print file. Some records cause the content to overflow onto the reverse. When this happens I would like a ‘Please turn over’ note to appear in the bottom right of the first page, but I’m having an issue knowing when that happens.
Thank you for replying so quickly. Apologies, but I think I may have poorly communicated my needs, or I’m not fully understanding your instructions.
The job is single sheet duplex. There is no first/middle/last sheet.
This method works if the job is simplex, but I need the blank reverse.
You can only know if page overflow occurred after pagination, so you will need a post pagination script. If merge.section.pagination.pageCount is 2, content overflowed to the second page.
This only works if “Omit empty back side for Last or Single sheet” is turned on in the section’s sheet configuration, otherwise the reported page count will always be 2.
Is there no way using other methods? I’m already adding additional content using the output preset. My most recent idea before posting here was to give the final paragraph tag an ID, determine it’s location, then adding the ‘Please turn over’ text if it’s not on page 1.
Or, determine the height of the table (variable rows & variable row heights), then adding the new text if it’s over a certain height.
Solved.
-Create two Master Pages for front and back, place an empty div in each with the same class.
-In your Print Section’s Sheet Config: Enable ‘Duplex’, disable ‘Omit Empty Backside…’
-Enable ‘Same for All Positions’, Allow content on: All Sides. Set your Master Pages. Enable ‘Omit Master Back Page…’
-Create your “Please Turn Over” text and give it an ID (I used a div with ‘PTO’ as the ID).
-Create a new Post Pagination script and give the selector name the same name as your div’s class on the master pages. Type in: