This article is related only to the legacy ASP.NET Web Forms Report Viewer. For other projects check the Print a report directly at client-side without displaying it in a Viewer KB article.
By default the Adobe Plugin is used when printing (if available) and the user has the option to select the printer he would like to use when print is initiated. However there is no way to know the default or in fact any of the available client printers as this would be a major security vulnerability. That is why the print dialog would be always shown, so that the user can select the desired printer and then click the Print button.
On the client side you can invoke the print through the ReportViewer client object's PrintReport() method like in the code snipped below:
Note that we disable the print button until the report has not loaded in the viewer. Once it is loaded we can print it from our Print Report button.
In order to perform other actions on click of the print button (e.g. print using the browser printing capabilities), you'll have to override the default PrintReport() function: