General discussion

Locked

HTML page format for printing

By fdonaire ·
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

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

How I accomplished this

by BoyMackman In reply to HTML page format for prin ...

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.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums