Link to home
Get AccessLog in
Avatar of cheryl9063
cheryl9063Flag for United States of America

asked on

SQL Srored Proc prints SSRS report

I have been tasked with creating a stored proc that when called will send a SSRS report to a designated printer.. The parameters will be the report name and date.. Has anyone successfully done this before? It does not matter if the report comes out as PDF or any other type it just needs to be sent automatically to a printer.. Help
Avatar of bsmith80
bsmith80
Flag of United States of America image

You'll need to create an external module (link below uses ActiveX) that can be called from the SP to send the report to the printer.

http://www.codeproject.com/KB/reporting-services/Print_from_SQL.aspx

Avatar of cheryl9063

ASKER

Is there a way to do this without calling something external? I mean by just using SQL Server and SSRS?
Yes, using the Printer Delivery Sample included in the SSRS SDK. For more info, check out the info at the links below.

http://msdn.microsoft.com/en-us/library/ms155993%28v=sql.90%29.aspx

http://msdn.microsoft.com/en-us/library/ms160778%28v=sql.90%29.aspx
I'm using SQL 2008 is this the same for 2008?
ASKER CERTIFIED SOLUTION
Avatar of bsmith80
bsmith80
Flag of United States of America image

Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access