I have the button"Accept and Print" the screen, which allows to print the screens and allows to submit the form.

When I hit the button the print screen opnes and after I print, the action associated with it is not executed . But stays on the same page.

Can anyone tell me if I have done anything wrong. Any help is greatly apprecitaed thanks.
You are returning false after window.print and thus it is not going to the server side action , return true and then try.