I&#039m trying to find a way to print the contents of a web page. What I&#039m doing is dynamically generating the page using a database. I need to open this new page print the contents and then close without any user input other than pressing a print button the page.