So, lets say I got a simple form inside a page like this:
STUFF
Print whole page
Try adding a button that calls window.print()
Print a specific portion/container in a page
then in HTML file add this script code