How to print submission data?