Skip to main content
December 18, 2023
Question

Display Header And Footers on every page of PDF Report

  • December 18, 2023
  • 6 replies
  • 0 views

Hi, I have a requirement to display the header and footer on every generated page of the PDF report through HTML

I tried using header and footer tags, but that is not working

    6 replies

    stefanhelzle0001
    Brainy
    December 18, 2023

    "but that is not working" does not provide a lot of detail to work with.

    I cover some aspects in my blog post: appian.rocks/.../

    The documentation of the used Java library has extensive documentation.

    github.com/.../openhtmltopdf

    December 18, 2023

    means header and footer are only coming once, at the start of report and end of the report

    annap0005
    December 18, 2023

    try this pdf-utilities

    December 18, 2023

    I want add images in header and footer, this only allows text

    amans0009
    December 20, 2023

    To manage the layout of your content, you can set a fixed number or quantity of items per page. Additionally, you can implement a looping mechanism to dynamically include headers and footers based on this fixed content count. This approach ensures consistency throughout your pages.

    stefanhelzle0001
    Brainy
    December 20, 2023

    The HTML to PDF plugin manages all of this for you. You just need to use the right CSS from the library documentation. There is no need to "count lines and build a fixed layout"!