Reputation: 583
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
Upvotes: 2
Views: 1039
Reputation: 73302
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.
Upvotes: 3