Hiding a master page based on a condition

Avatar

Avatar

Neha_J

Avatar

Neha_J

Neha_J

25-08-2010

Hi All,

I have created a form which has data on odd pages and some terms and condition on the back pages(even) pages. I am using Adobe Livecycle Designer ES version 8.1.2

For this I created 4 Master pages.

FirstPage - Pagination -> Odd/Even - > Odd (front) pages

                                   Placement -> First Page (in Page set)

Front Page - Pagination -> Odd/Even - > Odd (front) pages

                                   Placement -> Rest of pages

BackPage - Pagination -> Odd/Even - > Even (Back) pages

                                   Placement -> Rest of pages

Dummy - Pagination -> Odd/Even - > Blank page

I dragged the content area of back page on the dummy page.

This set up works fine for printing.

I have additional requirement of archiving, emailing and faxing. While sending a email or fax or archiving, the data should be continuous, the back master page should be removed otherwise they show in alternate pages as blank pages even if i set the presence property to visible(print only) .


Are there any settings which can be done to remove the master pages that are not needed based on a codition.
Any help will be appreciated.

Regards

Neha

View Entire Topic

Avatar

Avatar

Neha_J

Avatar

Neha_J

Neha_J

02-09-2010

Hi Paul,

Thanks for the help.

I am attaching the form I had created initially (Backside.pdf, i followed a solution provide on another SAP forum) and also the form I have now changed a bit from your sample.

In the form you provided if I hide the body page 'SummaryPage' then no unwanted page is visible. I don't care if it prints a blank page at the back but it should not be there in the saved pdf.

I don't understand why odd and even settings don't work for me.

Just a hunch: can we add blank page via scripting if the page is odd while printing else no.

I will have some flags to tell me if I am printing or emailing before I render the form.

Regards

Neha