Re: printing html
| From: | PHP List | Date: | Fri, 18 Jan 2002 22:36:20 +0000 |
| Subject: | Re: printing html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81165@lists.php.net to get a copy of this message | ||
You could just change the code for the generated page to re-generate the
page without the headers, etc. Then just link to the same page with a print
command:
echo "<a href=\"$PHP_SELF?print=yes\">Click here for a printable version of
this page.</a>";
if ($print <> "yes")
include("header.inc");
Something like that anyways.
----- Original Message -----
From: "fitiux" <tuxcl@yahoo.com>
To: "PHP General" <php-general@lists.php.net>
Sent: Friday, January 18, 2002 12:44 PM
Subject: [PHP] printing html
> Hi friends, =)
>
> someone have experience using printer functions ?
> I mean... I would like to print a php generated page with a link within
this
> page
>
> example:
> I have an html page with a table..but I need to print without header,
footer
> and also I need to print in landscape... all of this with a link within
this
> generated page.
>
> can I do this with PHP ?
>
>
> thanks for your advice.
> best regards..
>
> (sorry me... my english isn't good enough) :-)
>
>
>
> --
> 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