Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #27020

    Hello, we have been using pd4ml in our company for more than 4 years to convert HTML files to PDF report. We have a requirement to create border line in each page like shown here, would help us achieve this with HTML and pd4ml . We are using PD4ML DMS Pro 361b1



    You may achieve that with a footer definition, like



    Use the above code or modify already existent footer correspondingly.

    Also place tag just after tag opens:




    Thank you for the reply, sorry for the confusion, the question was not about the footer, its about each page has closed border line in black, we are not able to achieve that when we tried with CSS the border is always getting broken until the last page. Please assist.


    Now I see.

    Well, you cannot define the border line with HTML/CSS. But it is possible:

    1. to define a page background image with a painted border line and to apply the image to all pages.

    [language=Java:1rjzncx5]PD4PageMark footer = new PD4PageMark();

    2. to create a static PDF page with a border line. It can be done from an HTML like the following:



    (height value is to be adjusted there)

    After that you could combine(underlay) the static PDF with your dynamically created PDF document.


    Thank you, that helps 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘PD4ML Tips & Tricks’ is closed to new topics and replies.