How to get submission data in PDF format