tags:

views:

54

answers:

1

Currently using a HTML to PDF converter written in PHP to attach a printable readonly page to an email.

This can be a little temperamental at the best of times, producing strange results. I was wondering if there was perhaps a better option to achieve this end result?

(Granted the end PDF is not entirely "un-editable", but it does the job for my purposes atm)

I have been thinking perhaps: - HTML > image - Attach HTML and advise the mail client to open the file in a application

Can anyone offer any advice? Thanks

+3  A: 

An alternative to your current solution. You could always write a stylesheet for print.

<link rel="stylesheet" type="text/css" href="print.css" media="print" />

And then email this page to your clients? Or simply attach this page itself.

Russell Dias
+1 not what the OP asked for, but sane advice.
Pekka