Skip to main content
Participant
May 18, 2023
Question

Adobe PDF services HTML to PDF header footer issue

  • May 18, 2023
  • 1 reply
  • 1256 views

We are using adobe PDF services to export the html to PDF.

We can export the custom template into PDF, however, while exporting the HTML, we must include Header and Footer to each page. Hence first page presentation is being generated correctly, however second page onwards, presentation (font size and styles) is changed.

Request you to review and let us know if we have suggestion to export the PDF correctly.

    This topic has been closed for replies.

    1 reply

    Raymond Camden
    Community Manager
    Community Manager
    June 6, 2023

    A few questions. You mention a custom template, but to be clear, you mean an HTML template, right? The title of your thread is "HTML to PDF", but you go on to mention exporting HTML, so I'm a bit confused.

     

    If it's indeed HTML to PDF and you don't see your header or footer repeating, can you send me an example of your HTML?

     

    Also, if you open it in Edge/Chrome/etc, and CTRL+P (or CMD+P) to print to PDF, what do you see? Generally if it fails there, it will fail on our side.

    Participant
    June 8, 2023

    HI Raymond,

    Below are the details requested mentioned below.

    Currently we are export HTML into PDF. In HTML, we have included the header and footer which has to apply for each page.

    When we apply the header and footer to multiple pages, then presentation is distrubed, we are able to view extra spaces between the lines.

    Attached is the PDF, which we have export using Adobe HTML to PDF, also attached a DOC, which repsresents the UI presentation.

     

    Raymond Camden
    Community Manager
    Community Manager
    June 8, 2023

    Ok, but I need the HTML as well. As I said, if it is not working in HTML, it won't magically work when exported to PDF. Can you share that, and tell me what happens if you Print to PDF from the HTML itself?