I'm working on a web app built with ExtJS on the front end and a Zend Framework 1.12 API for backend. Currently I have reports that are generated in the API with a view script, then presented to the user in an iFrame through ExtJS. I have a print button which easily allows the report to be printed.
Now I want to add a button to be able to email these reports to users as a PDF. I am assuming this would be best handled on the API side.
Really what I am wanting to do is take the report that is generated from the html view, and create a pdf file that can then be attached to an email and sent to a user.
Is this a complicated task?