HTML to PDF download works