Print directly to printer using angularjs without showing Window window.open ?
I am trying to print direclty to the printer using below code
popupWin.document.open();
popupWin.document.write('<html><head><link rel="stylesheet" type="text/css" href="style.css" /></head><body onload="window.print()">' + printContents + '</body></html>');
It is Showing Window and again asking for print option again..
I want to give print directly to the default selected printer..
how can i achieve this using angularjs
Thanks In Advance