*This message was transferred with a trial version of CommuniGate(tm) Pro*
I think the only solution is to convert it to PDF. In theory, CSS2 provides 
with the possibility to configure the print format, but no browser supports 
it.

Pedro.


On Thursday 13 June 2002 19:56, Miguel Cruz wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
>
> On Thu, 13 Jun 2002, Angelo Marcos Rigo wrote:
> >     Anybody knows a good printer friendly version php script
> >     thank´s in advance
>
> Well, it's entirely dependent on your particular HTML; there's no
> general-purpose solution.
>
> <?
>   $P = ($_GET['printerfriendly'] == 'yes') ? 1 : 0;
> ?><html><body><?
>
> if ($P)
> {
>   ?><img src="images/printerfriendly.gif"><?
> }
>
> else
> {
>   ?><img src="images/printerhostile.gif"><?
> }
>
> ?></body></html>
>
> miguel

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to