I am searching for some utility/library (free source) for pdf creation.
The requirement is to get the contents of current displayed page and convert it to pdf.
The language is PHP.
The user scenerio would be
1. User hits a link which does some computation and provides him/her results in the browser as a html page.
2. The HTML page has a button, which says "Download as PDF"
3. Once user clicks it, the contents of the page gets converted to PDF and user gets the dialog for saving it.
