Skip to main content
Participant
July 25, 2019
Answered

Cookie warning banner appears on every page of the website when converting it (multi-level) to PDF.

  • July 25, 2019
  • 2 replies
  • 3772 views

Hello,

I am in trouble converting our website to PDF.  It takes forever and shows the cookie warning banner on every single page of the multi-layer PDF.  I did somehow manage to produce a clean and very usable PDF of that website in the past.  Any ideas?

Thanks a lot.

Max

This topic has been closed for replies.
Correct answer Dov Isaacs

Regrettably, the problem is with the website itself. Their HTML code could and should detect that the page is not being displayed but “printed” and not emit the banners. But it obviously doesn't. Neither Adobe nor any other HTML to PDF converter has any control whatsoever over this. The converter code has no way of distinguishing the banners from anything else on the web page.

Sorry, it is a royal pain in the *ss for all of us!

          - Dov

2 replies

Dov Isaacs
Dov IsaacsCorrect answer
Legend
July 25, 2019

Regrettably, the problem is with the website itself. Their HTML code could and should detect that the page is not being displayed but “printed” and not emit the banners. But it obviously doesn't. Neither Adobe nor any other HTML to PDF converter has any control whatsoever over this. The converter code has no way of distinguishing the banners from anything else on the web page.

Sorry, it is a royal pain in the *ss for all of us!

          - Dov

- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)
Bernd Alheit
Community Expert
Community Expert
July 25, 2019

How does you convert the website?

Participant
July 25, 2019

I use Adobe Acrobat Pro DC version 2019.012.20035.

Menu: Datei - Erstellen - PDF von Webseite (File - Create - PDF from website).

Then I click OK on the warning that it may take time (as I know it already worked once before), and it starts producing the results...

...including those unwanted banners.

Max