How to submit form and then print?