php-general Digest 6 Aug 2010 01:03:39 -0000 Issue 6881

Topics (messages 307324 through 307326):

Re: Converting HTML to PDF via PHP
        307324 by: Scott Teresi

PHP The Anthem
        307325 by: Daevid Vincent
        307326 by: Josh Kehn

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
> I am trying to export generated HTML (an invoice for a customer) to a saveable
> PDF that is downloaded.  Any ideas?

I've found a very easy unix command for generating PDF's:

   code.google.com/p/wkhtmltopdf

[The PHP list wouldn't let me send this with "http://"; in front of the URL.]

It will turn any web page into a PDF and was easy to install and use and has
documentation. (I call it from a PHP script.) It renders the web page using
a WebKit library that's included in the source, and there are lots of
options for how to tweak the rendering engine.

Scott



--- End Message ---
--- Begin Message ---
http://www.youtube.com/watch?v=S8zhmiS-1kw

http://shiflett.org/blog/2010/aug/php-anthem
 
...some people have way too much time. ;-)


--- End Message ---
--- Begin Message ---
That. That is awesome.  I will be forwarding this to some perl people now.

Regards,

-Josh

On Aug 5, 2010, at 7:57 PM, Daevid Vincent wrote:

> http://www.youtube.com/watch?v=S8zhmiS-1kw
> 
> http://shiflett.org/blog/2010/aug/php-anthem
> 
> ...some people have way too much time. ;-)
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--- End Message ---

Reply via email to