RE: [PHP] Making Printer Friendly files
| From: | Chris W. Parker | Date: | Thu, 13 May 2004 22:22:32 +0000 |
| Subject: | RE: [PHP] Making Printer Friendly files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-186168@lists.php.net to get a copy of this message | ||
Todd Cary <mailto:todd@aristesoftware.com>
on Thursday, May 13, 2004 3:15 PM said:
> I have a news letter produced by PageMaker that is normally put into
> PDF format so the user can download it. However, I would like to
> have a Printer Friendly version (no graphics). Is there a PHP
> program that can take an HTML version and remove the graphics or is
> there a better way with pagemaker?
this is not a php solution so it's a bit offtopic (but i don't really
care... :P)
do it with a different stylesheet.
add the following style to a printer friendly stylesheet:
img {
display: none;
}
your html will stay exactly the same, the only difference is that all
the images will not be displayed.
chris.