Up until now we've tried to avoid creating our "results" as .pdf. When our client wants to view their results, they get a nice dynamic .html that generates the results. I carefully coded it so it acts like a .pdf with page breaks and so on.
Now I'm told to take these "results" and include the option that the client can e-mail them to anyone they desire.
I want to stay away from e-mailing .html due to browser compatability (we send out an e-zine and our clients still complain about us e-mailing .html). So I'm trying to look into converting dynamicly created .html to a file (such as .pdf) and send it as an attachment (they can worry about downloading the reader). I'd like to keep the graphics (most of our results are shown through image graphs) but have no desire to completely re-write our "results" code in a dynamic .pdf.
Is there anything out there that can take a dynamic (php created) .html file and convert it to a .pdf file for e-mail? Or is there another solution that I'm missing?
The idea of re-writing all that code scares me - but the nessessity to get this up and working is huge.
If anything is unclear, please inform me. I can't wait to hear what you have to say.