RE: [PHP] Printable Report Generator

From: Date: Sat, 14 Jul 2001 04:14:01 +0000
Subject: RE: [PHP] Printable Report Generator
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57852@lists.php.net to get a copy of this message
> > Ain't no such critter as a page break in html, but you can let the browser > help out. True. But, there is one in XML. You can use XML to insert PRINTABLE page breaks in your documents. That is, you can specify where a page ends, and a new one begins, when the web doc is sent to the printer. I haven't done it, but It is covered in most XML tutorials. -john > All the versions i've worked with will avoid spliting a table across pages. > So use that fact to nudge the wanted behaviour : > > <TABLE WIDTH="100%" CELLSPACING=0 CELLPADDING=0 BORDER=0> > <TR><TD> > <PRE> > crank out 60 lines ... > </PRE> > </TD></TR> > </TABLE> > > <!-- next page --> > <TABLE WIDTH="100%" CELLSPACING=0 CELLPADDING=0 BORDER=0> > <TR><TD> > <PRE> > 60 more lines ... > </PRE> > </TD></TR> > </TABLE> > > > repeat until you either run out of memory or lines ... > > > There's any free tool out there?? > > if you're writing html to disk, there's html2ps; > i've no idea if it handles tables likewise. > > Regards, > -- > Don Read dread@texas.net > -- It's always darkest before the dawn. So if you are going to > steal the neighbor's newspaper, that's the time to do it. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#57852) next »