{"issue":{"created_at":"2011-11-29T17:10:49Z","state":"open","updated_at":"2011-11-29T17:10:59Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","login":"importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":9,"body":"It would be fine, when there exists a Hook for this item to replace the internal PDF generation\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/995.zip \"Download the attachments of this ticket\")\nRelated issues: #1035\n\n--- _Originally created by lindesbs on September 8th, 2009, at 04:42pm (ID 995)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2387927,"labels":[{"name":"backend","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/backend"},{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/import/labels/Feature"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":995,"title":"New Hook for printArticleAsPdf","closed_at":null,"html_url":"https://github.com/contao/import/issues/995","url":"https://api.github.com/repos/contao/import/issues/995","milestone":{"created_at":"2011-11-29T15:29:32Z","state":"open","closed_issues":82,"due_on":null,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":9,"description":"TYPOlight 2.8.0 (minor release)","title":"2.8.0","open_issues":1,"url":"https://api.github.com/repos/contao/import/milestones/9"}},"action":"created","comment":{"created_at":"2011-11-29T17:10:58Z","updated_at":"2011-11-29T17:10:58Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"The problem is that depending on the PDF library, you do not get to return anything. E.g. DOMPDF automatically aborts the script if you envoke its `stream()` method to generate the PDF.\n\n--- _Originally created on October 15th, 2009, at 10:22am_","id":2936248,"url":"https://api.github.com/repos/contao/import/issues/comments/2936248"}}