Duplex Printing - Adobe Livecycle

528 Views Asked by At

I'm designing an XDP template in adobe livecycle desinger and i've below logic in layout:ready event to make a blank page visible if the total no of pages during layout ready event is odd number. sometimes this logic is misfiring, as a result i'm ending up with an odd number document, which is a big issue during printing! am i doing something wrong here? am i supposed to put this logic in layout:ready event? any input is greatly appreciated! Thank you!!

if(xfa.layout.pageCount() % 2 != 0)
    BlankPage.presence = "visible";
1

There are 1 best solutions below

2
On

There is an Adobe recommended way to handle duplexed printing that doesn't involve scripting.