Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Empty pages: beginning / end on Printout

Avatar

Level 1

Hello!

I have got 2 Masterpages and several pages, all their presence is set to visible.

  • Master_1:
    Master_2
  • Page_1: Associated to Master_1
    Page_2: Associated to Master_2
    Page_3: Assiciated to Master_2

Sometimes I have to print all pages (Page_1 to Page_3), sometimes Page_3 only.

What happens:

  • On Printout of all pages: I do not get any additional extra pages. OK!
  • On Printout of Page 3:
    • on the event: prePrint for Page_1 and Page_2: this.presence="hidden";
    • I get 2 empty pages: one on the beginning of the printOut and one at the end of the Printout

Question:

  • Which settings for all the MasterPages and all other Pages are needed to prevent the empty pages during printout?

Thanks for any answer!

Bruno

1 Reply

Avatar

Level 7

There is a restriction on hiding page 1, it can't be done. I only found this out recently.