Allow print dialog to be called automatically after page is loaded.