when I am using window print method it will go to the print preview window and dont want this print directly goes to the selected network
$("#btnPrint").click(function () {
window.print();
});