The recommended approach is to use the CakePHP plugin CakePdf for this. With that plugin it is "a piece of cake" to output HTML views as PDF or render them to files for download/emailing etc. You can obviously just use…
Tag: pdf
Serving views as files in Cake2
Actually, its not that different in Cake1.3. But as I just played around with it in 2.0, I will stick to that version for examples. How to start Skip this, if you want to cut to the chase. In your…