MrDatabase MrDatabase - 4 months ago 8
Javascript Question

How can I pop-up a print dialog box using Javascript?

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 print-friendly page. How can I do this with javascript?

Answer
window.print();  

unless you mean a custom looking popup.