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" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]