Re: Page breaks and printing?

From: Date: Fri, 17 Oct 2003 21:08:29 +0000
Subject: Re: Page breaks and printing?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166559@lists.php.net to get a copy of this message
J J -- 1) This has nothing to do with BTML. Please don't hijack threads; next time you want to talk about a completely fresh topic start a completely fresh message. ..and then J J said... % % Is there a good way in PHP to determine page breaks There isn't, really, because it up to the local browser and printer settings. % for long reports and printing? I'd like to be able to % best determine where pages should begin and end and % reprint things like table/page headers and footers on % each page so the reports print nicely. You should probably make use of <tfoot> <thead> and <tbody> then. % % I'd like to avoid having to output to PDF or Word for % this formatting. % % Is it possible with just PHP or maybe PHP + CSS? % Anyone know of any good examples of this? I believe that if you make a <div> you can avoid a page break or maybe force one, though you then have to work at the screen/page size lowest common denominator (not the more common "LCD" in the computer world ;-) In short, this is purely an html and browser question. Good luck! % % Thanks in advance! HTH & HAND :-D -- David T-G * There is too much animal courage in (play) davidtg@justpickone.org * society and not sufficient moral courage. (work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

« previous php.general (#166559) next »