App to Convert PHP form submission to PDF and RTF or Equivalent

Posted on 2007-09-27
Last Modified: 2008-01-09
Hi Experts,

We are designing an application to take a PHP form submission with a fckeditor textarea and convert the HTML output to a PDF file and also a RTF file or similar.  

We need suggestions for an open source php class to convert the HTML output to PDF.  We also need to be able to set the page margins to various values.  Image support is a necessity.

After that, we need a package that can get the same output into a file type that MS Word can open natively.  Obviously, it doesn't have to be done with the same package...we can do this in two steps.

Feel free to ask questions if you need more information.  

Thanks in advance
Question by:Jason C. Levine
    LVL 22

    Accepted Solution

    For the html to pdf, try this

    as for converting html to word, this a little trickier,
    LVL 70

    Author Comment

    by:Jason C. Levine
    Hi RedKelvin,

    Thanks for the links.  The DLL won't help me as I'm running a LAMP set up.  Solutions have to be PHP or (less preferrably) perl.

    Would I be able to do something like go to PDF to Postscript or LaTeX, then convert to something else?  
    LVL 22

    Expert Comment

    hmmm, I would actually think that it would be more common to want to convert html to word, than the other methods.
    I will repost if I can find something.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    This article focuses on how to remove password security from multiple PDF files by Adobe Acrobat program. Sometimes it is essential to access the stored data items and to print, edit as well as copy content from Portable Document Format files in abs…
    Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    This video teaches users how to migrate an existing Wordpress website to a new domain.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now