I am trying to write a program that allows me to print a ssrs report(.rdl file) from the server-side code to a predetermined printer without any pop ups asking me which printer I want to use can this be done?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
follow this.
Reference links:
Automatically print SSRS report?
SSRS Printing without showind Print Dialog
Printing Reports Programmatically Using C# and SQL Server 2000 Reporting Services
Print SSRS Report Automatically
Printing Reporting Services 2005 Reports
EDIT
Also pasted the code for the
ReportViewerDisposer
implementation I'm using.Together with the class
ReportViewerDisposer
found here I'm using the following code, which is part of a larger project, but you should be able to adapt it easily:First of all you need to render your SSRS report into PDF format and then you can print the PDF file directly without opening any popup, Refer to code below: