How to include the headers and text in the PDF submission?