...

View Full Version : If finished loading {print page}?



john6
09-30-2012, 11:02 AM
Does anyone know how to get the site to print the page (or show print dialog) once the page has finished loading?

Thanks!

Philip M
09-30-2012, 12:18 PM
Does anyone know how to get the site to print the page (or show print dialog) once the page has finished loading?

Thanks!

<body onload = "window.print()">

That will not actually print the page but bring up the print dialog so that the user has an opporunity to cancel the print.



"It's hard to put my thoughts in their shoes". - Sports commentator.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum