From: "Mark T" on
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.

Any Suggestions?

Mark
From: "Firman Wandayandi" on
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.


--
Firman Wandayandi
http://firmanw.org/
From: Joshua Eichorn on
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
From: David Sanders on
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: "Mark T" on
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
>