Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically print SSRS report?

Is there a way to automatically print a SQL Server Reporting services (2005) report?

EDIT:

We needed to print a SSRS report at a network printer programmatically. Specifically, we wanted to fire this off from a stored procedure. We are currently using likeabanshee's method, and it is working. However, we would like something more managed, without the dependency on Adobe Acrobat and xp_cmdshell. We are looking into this method suggested by Paul G.

like image 342
Aaron Daniels Avatar asked Jan 26 '09 17:01

Aaron Daniels


People also ask

Can we schedule SSRS report?

You can: Schedule report delivery in a standard or data-driven subscription. Schedule report history so that new snapshots are added to report history at regular intervals. Schedule when to refresh the data of a report snapshot.

Does SSRS have an API?

In this article. Microsoft SQL Server 2017 Reporting Services support Representational State Transfer (REST) APIs. The REST APIs are service endpoints that support a set of HTTP operations (methods), which provide create, retrieve, update, or delete access for resources within a report server.

Is SSRS being deprecated?

These features will be removed from versions of SQL Server starting with SQL Server 2022 and will no longer be supported. Only the last three releases, SQL Server 2016, SQL Server 2017, and SQL Server 2019, will be supported in maintenance mode until EOL (End of Life) for existing customers.


1 Answers

You should be able to make that happen programmatically using the built-in web service to render the report. Some sample code for SSRS 2000 is here, but it should be pretty close to what you'd need for 2005 as well I think:

like image 159
Paul G Avatar answered Oct 05 '22 09:10

Paul G