How to automatically print form upon submission