• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1241
  • Last Modified:

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

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
Jason C. Levine
Jason C. Levine
  • 2
1 Solution
For the html to pdf, try this

as for converting html to word, this a little trickier,
Jason C. LevineNo oneAuthor Commented:
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?  
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now