Printing a Report Server-Side and Silently

后端 未结 3 1390
夕颜
夕颜 2020-12-17 03:32

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 prin

3条回答
  •  悲哀的现实
    2020-12-17 04:09

    1. First add a Web reference to the Reporting Services Web service in your development project that points to your report server. This can be done by right-clicking on your project in Visual Studio and choosing Add Web reference... . You should add a reference to a local report server (localhost) at "http://localhost/reportserver/reportservice.asmx".
    2. Use the ReportingService class to do printing using some steps.

    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

提交回复
热议问题