Designer - Adding a 'Please Turn Over' message

Note: Using version 2022.2.1.13107

Hello,

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 in advance for the help.

You’ll need to do this on a Master Page.

My guess is you’ll need 3 Master Pages.

1 for Single Sheet
1 for First of many
1 for Back page

The ‘Please turn over’ note will be on the First of many.

Then on your Print Section, right click and select Sheet Configuration.

There you can setup which Master Page is to be used.

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.

Hi @Bowen,

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.

Thank you for replying, Sander.

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:

const pagelength = results.length;
logger.info(pagelength);

if (pagelength >1) {
query(“#PTO”).show();
logger.info(“PTO SHOW”);
} else {
query(“#PTO”).hide();
logger.info(“PTO HIDE”);
}