jquery - How to show print dialog to select the printer while printing the SSRS report using button click -
i calling aspx report viewer page passing parameters window.open() like
var popupwindow = window.open('@url.content("~/rptviewer.aspx")' + "?date=" + date,'popupwindow', 'channelmode=yes,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=no');
and printing report using reportprintdocument.cs like
reportprintdocument rp = new reportprintdocument(reportviewerprint.serverreport);rp.print();
by report printing directly without showing print dialogue.
now want show print dialogue selecting printer , no of copies print.. , after clicking on ok button on print dialogue have print report... per options selected in print dialogue
you're printing report server side (which may same machine browser's on if you're developing) has no way show print dialog. in other words it's not client that's printing currently.
to print newly opened window you'll need javascript execute client-side print. details, see this related question or directly refer the mentioned msdn blog post.