how to print the information from the form