Projects / HTML_ToPDF

HTML_ToPDF

HTML_ToPDF takes the hassle out of generating a PDF file from a Web page. It will convert any HTML document into a format that will look the same on any platform and printer. It includes support for converting images, using the stylesheets to customize the look of the PDF file, and error handling.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  18 Nov 2006 22:44

    Release Notes: Raw HTML can be passed straight into the class, making it easier to convert dynamic pages. PEAR is no longer required. CSS via "link" tags now works. Handling of "input" tags was improved. Better instructions were written for Windows installs.

    •  11 Feb 2006 18:43

      Release Notes: Support for Windows was added. Images can be saved as grayscale. Relative paths for images and CSS now work. All the temporary files are now removed after conversion.

      •  24 Nov 2004 23:30

        Release Notes: Remote https pages can now be fetched. Empty headers and footers are now possible. Images can now be pulled from the local machine if the URL is relative. There are other bugfixes for cross-platform compatibility.

        •  14 Nov 2003 03:55

          Release Notes: The quality of converted images is much higher. Errors in the debug output were fixed.

          •  06 Aug 2003 20:36

            Release Notes: This release has a debug mode, the ability to creade PDF files with landscape orientation, and support for A4 paper.

            Recent comments

            11 Apr 2007 23:47 n13l

            PDF layers
            is there any options for using as an pdf page break ?

            and some options for using css: background-image: ?

            11 Apr 2007 23:46 n13l

            PDF layers
            is there any options for using as an pdg page break ?

            and some options for using css: background-image: ?

            29 Mar 2007 22:45 phpwalter

            Re: Only Linux


            >

            > Good point. It does work on Windows --

            > I just had not tried it.

            >

            Sure, after a lot of pain and frustration.

            But I still can't get it to work "right"

            The PDF it generates has no images, it can't find the CSS file and the text is microsopic.

            Looks like it is scaling it to a single page.

            18 Nov 2006 12:09 jrust

            Re: Only Linux


            > >[Operating System] POSIX ::

            > Linux

            >

            > I find it hard to believe that this

            > would only run on Linux.

            > If so, why?

            Good point. It does work on Windows -- I just had not tried it.

            26 Apr 2005 03:49 elgaard

            Only Linux
            >[Operating System] POSIX :: Linux

            I find it hard to believe that this would only run on Linux.

            If so, why?

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.