PDF output finished
Changed error_reporting and set auto_page_break to true: