Completed PDF generation