RE: [PHP] PHP to create Printable format
| From: | Jay Blanchard | Date: | Fri, 21 Nov 2003 12:30:15 +0000 |
| Subject: | RE: [PHP] PHP to create Printable format | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170551@lists.php.net to get a copy of this message | ||
[snip]
> Right now, I am trying to do generation of report using PHP in which
the
> report should be in a printable format later on.
How do you define a "printable format"?
Ideally, you want to do this in CSS. The "print version" would just load
a differnet style sheet than the main format.
You can also do it with PHP, like conditionally including / excluding
blocks, changing colors, fonts, sizes, etc....
[/snip]
I second John's "How do you define a "printable format"?"
I like his plan and just wish to add that you could create printable
PDFs using PHP.