change mpdf to use pageSize config setting and proper margins