Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inserting a table at bottom of PDF pages

Status
Not open for further replies.

andycape

Programmer
Joined
Aug 22, 2003
Messages
177
Location
ZA
From my ASP webpage I'm using the following code to make a PDF (its working fine):

Set myexec = Server.Createobject("Dynu.Exec")
Result = myexec.execute(PathToHTMLDOC & "htmldocd.exe --webpage --size a4 --top 0.2in --left 1.2cm --right 1.2cm --bottom 0.2in -f "&FilePath&" ""
What I want to do, is put a table at the bottom of each page if I make a PDF, or if I print.
As the document length varies from document to document, I am using {page-break-before: auto} , which is not working properly, only the {page-break-before: always} is working.

As I dont know when the page break is going to occur (because the document varies in length) i'm not sure when to include the table.
If I was only using {page-break-before: always} then i could just copy it in before each break.

any ideas as to....

1. why {page-break-before: auto} dosnt work properly on IE6 or when making a PDF?
2. Once I have sorted out {page-break-before: auto}, how to add in a small table at the bottom of each page.

thanx !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top