\n" + ""; } function printImage(source) { Pagelink = "about:blank"; var pwa = window.open(Pagelink, "_new"); pwa.document.open(); pwa.document.write(printImageSource(source)); pwa.document.close(); }