How to save the header and text in PDF?