PDF Generating Tool Support Forum

HOME   Login   Register    Search

Post a reply
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Font size:
Font colour
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are OFF
Disable BBCode
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the Board Administrator.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.

Topic review - closed border line in each page
Post subject:  Re: closed border line in each page
can you please provide the frame image to download
    Post Posted: 04 Oct 2021, 09:41
Post subject:  Re: closed border line in each page
Thank you, that helps :)
    Post Posted: 28 May 2015, 10:44
Post subject:  Re: closed border line in each page
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.

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:

<body style="margin: 0">
<div style="border: 1 solid black; width: 100%; height: 800">&nbsp;</div>

(height value is to be adjusted there)

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

    Post Posted: 27 May 2015, 20:34
Post subject:  Re: closed border line in each page
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.
    Post Posted: 26 May 2015, 10:51
Post subject:  Re: closed border line in each page
You may achieve that with a footer definition, like

<pd4ml:page.footer height="8">
<div style="width: 100%; height: 4; border-top: 1 solid tomato; border-bottom: 1 solid tomato;"></div>

Use the above code or modify already existent footer correspondingly.

Also place <pd4ml:page.footer> tag just after <body> tag opens:

    Post Posted: 25 May 2015, 16:57
Post subject:  closed border line in each page
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 [img]
[/img]. We are using PD4ML DMS Pro 361b1


File comment: word_doc_screen
doc.png [ 61.27 KiB | Viewed 5416 times ]
    Post Posted: 21 May 2015, 18:44

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share