How to display Header and text fields in PDF?