Hi all,
I would like to know if it's possible to use javascript to open a popup window containing an image, and at the same time have the print dialog show. Once someone clicks on print, the popup closes.
Is this easily attainable?
Hi all,
I would like to know if it's possible to use javascript to open a popup window containing an image, and at the same time have the print dialog show. Once someone clicks on print, the popup closes.
Is this easily attainable?
Yea, just put the image on the screen, and then call window.print();
in javascript and it should popup.
(This is how Google Maps/Google Calendar do printing)
popup = window.open();
popup.document.write("imagehtml");
popup.print();