Open & print a page automatically?


I'm working on some simple printer-friendly pages for a site and, when a user clicks on the "Printer Friendly" icon, would like the new page to open the print dialog box automatically when it opens up (as if they'd hit File > Print themselves).

What code would I need to implement to enable that type of auto-print-dialog? Not I don't actually want to automatically print the page, I just want the print dialog to pop up automatically once the new page is loaded.