I generated pdf file by using html code in server side and passing that html response to client side. Then by using below code it print the file and then ask for save option but I dont want to show print window option, looking for solution which provide directly save pdf option.My html response contain some hindi text also so it is difficult to convert html to pdf for that I tried so many solutions.
var printWindow = window.open('height=400,width=800');
var doc = printWindow.document;
doc.write(response.print);
doc.close();
printWindow.document.close();
printWindow.focus();
printWindow.print();
printWindow.close();