So, lets say I got a simple form inside a page like this:
STUFF
To print with submit button, add this to your summit script:
Keep in mind, this will only trigger whatever browser implemented print capabilities are available at the client.