I have a page with a \"Print\" link that takes the user to a printer-friendly page. The client wants a print dialog box to appear automatically when the user arrives at the
window.print();
unless you mean a custom looking popup.
I do this to make sure they remember to print landscape, which is necessary for a lot of pages on a lot of printers.
<a href="javascript:alert('Please be sure to set your printer to Landscape.');window.print();">Print Me...</a>
or
<body onload="alert('Please be sure to set your printer to Landscape.');window.print();">
etc.
</body>