How can I get a pdf copy of submitted data in the format of my template?