How to include all headers and text in PDF result?