Auto Printing from SQL Reporting Services

straucha
straucha used Ask the Experts™
on
Hi experts,

       I am looking for a way to automate the printing of three of my Reports Daily.  Basically, I have three different reports that each require a Start Date and an End Date Parameter.  These Reports need to be printed once a day.  I would like a way to send these three reports to a printer without user interaction.  For example, at 8:00 AM Everyday the reports would print to a local printer.  I want manually set the Start and End Date Parameters to something like End Date = now() and Start Date = Now() - 1 day.  I am using Reporting Services 2000.  I also have Visual Studio 2003 and I am familiar with the Report Viewer control.  I found a way using the Report Viewer control to auto export one report but not print.  I also briefely looked into using a script and running it from the command line to do the job.  Any way will work for me as long as it gets the job done.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
There's a sample delivery extension in the Reporting Server installation that will allow you to do this. It's unsupported by MS but it sould work. Once installed you setup a subscription to print to the printer and set it to auto print.

Alternatively you could do a subscription that exports the report to a file and then use a batch print utility to pick up the file and print it.  www.planetpdf.com has  some scripts that might help on this.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial