How can I show the headers and text in the saved pdf?