Omit Master Page Back in case of empty back page - control programatically?


Is this setting possible to control programatically? The document template is used for email and print.
Trying to avoid having 2 templates… if possible.

Take note Im aware of:

…omitEmptyBackside = true;

But this doesnt seem to do anything for overflow page set up. Especially if my last sheet master page contains something in it. These two seem two different settings.

Kind regards

Hi @edanting,

omitEmptyBackside is for something else, as you already found out. What you’re looking for is:


Note that the property is only defined for positions.single and positions.last.

It’s difficult to find in our documentation, but there is sample code at the bottom here.

1 Like

This is great . Thank you!