Discussion Locked

HTML page format for printing

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have an application that generate a long HTML(5 pages) i need to get the HTML and programactly insert headers, footers and page breaks.

Does any one could give an ideia how to do that ?

The application is j2se Web based.

Thanks in advance

1 reply

by boymackman

We have an application that requires printing onto A5 paper, to this printed the data and determined (guessed) how many rows of data we could get on one page.

We then inserted the Header and footer after and before the required amount of rows.

It isn't 100% and there are times when it doesn't work but we have over 400 uses of this application and I have seen it not work twice! There are times where it doesn't fill all of the page but only twice has it spilled over.

Hope this helps.

This discussion is closed to new replies.