well, I am not sure what exactly you want, but i will give a try.
first, still use your javascript validation as you already did.
then, the form will be sent to the 2nd pgae, a php page put the data to your database. and you can still display the information for user to print out at that page too.
or use header("Location: 3rdpage.php") to redirect to the 3rd page for print out. (since you already have these inforamtion input to the database at the 2nd page) at that 3rd page, you can get the data from the database which you just input the data into for the print out.