Wednesday, January 23, 2013

Re: Output to PDF with elements and styles

So I got Ceeram's plugin working on the server (my server admin installed WKHTMLTOPDF - I still haven't got it working on my Mac) and have views rendering as PDFs - top draw, very happy.

Only remaining question is how to render CSS?

On Tuesday, 22 January 2013 17:15:53 UTC, Jeremy Burns wrote:
I have an existing view that I want to output to PDF. I've looked at Ceeram's plugin and dompdf but they don't hit the mark for me. The existing view is built using elements which are not pulled in and there is no CSS. Am I missing something huge here or is this just really difficult? Do I have to rebuild the view and include the raw code from the elements (which isn't very DRY) and how do I include style sheets?

Any help or guidance is much appreciated.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: