5 Answers, 1 is accepted
Take a look at the following help article for more information: Hide the print progress dialog when printing a report programmatically. Additionally review the next KB article: Print Report straight to printer.
All the best,
Steve
the Telerik team
just one more little problem.
The WPF Report Viewer and the Silverlight Report Viewer are actually templates that can be easily modified with Blend. That way you can customize the viewers' template to respond to any custom requirements you have i.e. removing the print button and/or adding your own with an appropriate event.
Peter
the Telerik team
The built-in ReportViewer print functionality doesn't provide a supported way to bypass the print dialog. The print button is designed to display the printer dialog so the user can choose the printer and print settings.
If you need completely silent printing, you'll generally have to avoid the built-in print button and instead:
Render the report programmatically (for example, to EMF or PDF).
Send it directly to a printer using the .NET
PrintDocumentclass or another printing API.Set the printer name, number of copies, paper size, and other settings in code before calling
Print().
Keep in mind that silent printing may require the application to have access to the target printer, and the default printer or specified printer must already be installed on the client machine.
If you let us know whether you're using WinForms, WPF, ASP.NET, or ReportViewer for SSRS/LocalReport, someone can provide a more specific example, as the available options differ between implementations.