Page 1 of 1

Page Breaks in HTML printing

Posted: Mon Dec 06, 2004 7:50 am
by mchaggis
Hi,

I understand that this may not be possible, but I am vaguely aware that you can create style sheets for printed copies of a web page, but would like to know if you can become even more specific, namely control Page Breaks.

Here's my problem, I have a system that records application form for people, and I need to print them all out as hard copy. I have my print view page, for each person, but would like to just print them out once at the end of each week say. But if I do that they don't page break in the correct place as the details on the page can range from quite small to quite a lot of text.

So all I am looking for is a way to say when printing, start new page here?

Any ideas, I have looked into generating RTF's but table structures in RTF are a nightmare :(

It may also be worth noting that it is a linux based platform, so COM components are out of the question.

Posted: Mon Dec 06, 2004 8:08 am
by Shendemiar
It's possible by CSS 2.0, but Internet Explorer don't know this feature either.

I know Opera does, maybe Firefox too.

Posted: Mon Dec 06, 2004 1:30 pm
by wwwapu
And instuctions on style can be found at http://www.w3.org/TR/REC-CSS2/page.html ... eak-before