RE: [PHP] PHP method for making page printer friendly
| From: | Andrew Hill | Date: | Thu, 26 Oct 2000 20:37:02 +0000 |
| Subject: | RE: [PHP] PHP method for making page printer friendly | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22206@lists.php.net to get a copy of this message | ||
Why don't you just call the exact same page, with a different variable
passed in, where the variable determines which .css to use? e.g. one
variable defaults to .css with black background and white text (not printer
friendly) and the other one reverses it.
Just my .02
Best regards,
Andrew
----------------------------------------------------
Andrew Hill
Director Technology Evangelism
OpenLink Software
http://www.openlinksw.com
XML & E-Business Infrastructure Technology Provider
> -----Original Message-----
> From: dsig@teleport.com [mailto:dsig@teleport.com]
> Sent: Thursday, October 26, 2000 9:36 AM
> To: php-general@lists.php.net
> Subject: [PHP] PHP method for making page printer friendly
>
>
> I am looking for a 'method' of making a page printer friendly.
>
> I have 'kinda' figured out how to do it by calling a script that
> then fread's a
> page and fixes it up .. but i have not been able to figure out
> how to do it on
> the current page.
>
> So .. how do you call a php script which can do this? doesn't really seem
> possible .. must be aone of those chicken and egg things <g>
>
> any ideas appreciated
>
> DSig
> David Tod
> Sigafoos
>
>
> --
> 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
>
>
>