[nycphp-talk] html to PDF conversion?
Michele Waldman
mmwaldman at nyc.rr.com
Sun Mar 14 16:04:23 EDT 2010
Sorry, it took me so long to post. Don't have time to look at the rest of
the responses here,
I think it's a similar issue, check out the thread for:
RE: [nycphp-talk] FormFeed in October '09.
Jane Doe
> -----Original Message-----
> From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
> On Behalf Of David Roth
> Sent: Friday, March 05, 2010 3:07 AM
> To: NYPHP Talk
> Subject: [nycphp-talk] html to PDF conversion?
>
> The solution doesn't have to be written in PHP, but it's fine if it is
> as long as it works.
>
> I'm looking for a command-line way to convert HTML to a PDF on CentOS
> 5.4, because I need to do this in a shell script to create the webpage
> as a .PDF file.
>
> I've looked at xhtml2pdf written in Python, but CentOS 5.4 is still
> running Python 2.4 and the best I can tell it needs Python 2.5 or
> later cause I couldn't get it to work.
>
> I also tried PDF-FromHTML-0.31 which is written in PERL, but requires
> HTML::TIDY which seems to be unavailable currently.
>
> Thanks in advance for any advice. If this is now considered trivial to
> do in PHP and I've just not stumbled across it yet, please enlighten me.
>
> David Roth
>
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation
More information about the talk
mailing list