|
Prev: [ANNOUNCEMENT] PHP_CompatInfo-1.8.0b4 (beta) Released.
Next: [ANNOUNCEMENT] PHP_Beautifier-0.1.14 (beta) Released.
From: Noel da Costa on 20 Jun 2008 08:25 Could you please post the link? Tx Noel On 20 Jun 2008, at 13:31, Mark T wrote: > yea, that is the solution we are currently using. We're trying to > get away > from non-PHP solutions. I found a PHP program that converts HTML to > PDF with > the FPDF library. > > On Thu, Jun 19, 2008 at 9:20 PM, David Sanders < > dsanders(a)baselinesolutions.com.au> wrote: > >> Firman Wandayandi wrote: >> >>> On Wed, Jun 18, 2008 at 10:51 PM, Mark T <mxtracks(a)gmail.com> wrote: >>> >>>> Is there a PEAR package that can convert and HTML file to a PDF >>>> file? >>>> I am looking at the File_PDF package and it does not look like the >>>> package >>>> supports this. >>>> >>>> >>> Right, AFAIK there is nothing (or not yet) package support for that >>> conversion. >>> >>> Any Suggestions? >>>> >>>> >>> You may try to Googling for "html to pdf php" and see what you get. >>> >>> >>> >> html_topdf uses html2ps and ps2pdf. supports very basic html to pdf >> conversions. >> >> Written by Jason Rust an (ex?) pear developer >> >> -- >> Dave >>
From: "David Sanders" on 21 Jun 2008 23:43 Oh I nearly forgot to mention dompdf. It has a few gotchas here and there but does the job ok. http://www.digitaljunkies.ca/dompdf/ > Could you please post the link? > > Tx > Noel > > > On 20 Jun 2008, at 13:31, Mark T wrote: > >> yea, that is the solution we are currently using. We're trying to >> get away >> from non-PHP solutions. I found a PHP program that converts HTML to >> PDF with >> the FPDF library. >> >> On Thu, Jun 19, 2008 at 9:20 PM, David Sanders < >> dsanders(a)baselinesolutions.com.au> wrote: >> >>> Firman Wandayandi wrote: >>> >>>> On Wed, Jun 18, 2008 at 10:51 PM, Mark T <mxtracks(a)gmail.com> wrote: >>>> >>>>> Is there a PEAR package that can convert and HTML file to a PDF >>>>> file? >>>>> I am looking at the File_PDF package and it does not look like the >>>>> package >>>>> supports this. >>>>> >>>>> >>>> Right, AFAIK there is nothing (or not yet) package support for that >>>> conversion. >>>> >>>> Any Suggestions? >>>>> >>>>> >>>> You may try to Googling for "html to pdf php" and see what you get. >>>> >>>> >>>> >>> html_topdf uses html2ps and ps2pdf. supports very basic html to pdf >>> conversions. >>> >>> Written by Jason Rust an (ex?) pear developer >>> >>> -- >>> Dave >>> > > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- David Sanders Software Engineer Baseline Solutions Pty Ltd Suite 201 832 High St East Kew VIC 3123 Australia Phone: (03) 9249 9687 Fax: (03) 9249 9600 ======================================================================== This e-mail contains privileged and confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in reliance on it. Please notify Baseline Solutions Pty Ltd via e-mail (security(a)baselinesols.com) if you are not the intended addressee of this e-mail transmission. Any views or opinions presented in this message are solely those of the author. ========================================================================
From: =?iso-8859-1?Q?=C1lvaro_Saraiva?= on 23 Jun 2008 05:31
Hi, I don't know any PEAR package to do that, but try domPDF (http://www.digitaljunkies.ca/dompdf/). I think that would do what you need. We are using it with very good results. Álvaro -----Mensagem original----- De: Joshua Eichorn [mailto:josh(a)bluga.net] Enviada: quinta-feira, 19 de Junho de 2008 19:27 Para: Firman Wandayandi Cc: Mark T; pear-general(a)lists.php.net Assunto: Re: [PEAR] HTML to PDF Firman Wandayandi wrote: > On Wed, Jun 18, 2008 at 10:51 PM, Mark T <mxtracks(a)gmail.com> wrote: > >> Is there a PEAR package that can convert and HTML file to a PDF file? >> I am looking at the File_PDF package and it does not look like the package >> supports this. >> >> > > Right, AFAIK there is nothing (or not yet) package support for that conversion. > > >> Any Suggestions? >> >> > > You may try to Googling for "html to pdf php" and see what you get. > > > There really isn't anyway to do this with full CSS etc without using a rendering engine from a browser. But there are various scripts that support basic formating, would be nice to get something like that into PEAR. -josh who just happens to be working a webservice for generating pdfs from html using a browser rendering engine -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |