Re: Accessing the 'media' attribute in php
| From: | ceo at l-i-e dot com | Date: | Wed, 03 Dec 2008 15:07:53 +0000 |
| Subject: | Re: Accessing the 'media' attribute in php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-284055@lists.php.net to get a copy of this message | ||
> but I gather from your reply that the browser issues the new (printer)
> page without reference to the server.
> Is this what actually happens?
Yes, this is what actually happens for the browser "print" button.
You could do something like a "Printer Friendly" button to generate a PDF on the fly or
somesuch, and POST back all the data you need to generate a nice PDF of the page.
Example:
http://l-i-e.com/resume.htm
(Source code link at the bottom of the page)
Reference material:
http://php.net/libpdf