How to print the submission data in one page?