Show print dialog box and allow user to choose printer - SSRS 2008

On my web page, I have a print button. It pops up another window which has an SSRS report generated. On top of the report, i would like to popup a print dialog box allowing the user to chose the printer. Please suggest. Thanks in advance.
Who is Participating?
ValentinoVConnect With a Mentor BI ConsultantCommented:
So you actually want to invoke the print functionality without the user clicking the button.  I'm not sure how you would do that, if possible at all.

The following page may be interesting to have a look at though (if you haven't already): Walkthrough: Printing a Local Report without Preview

It contains some useful code which you'd need to actually print the report.
ValentinoVBI ConsultantCommented:
You could consider using the ReportViewer control (if you aren't already).  That ships with a built-in toolbar which contains several functions, including a print button that does exactly what you're looking for.

See Reporting Services and ReportViewer Controls in Visual Studio
ValentinoVBI ConsultantCommented:
Here's a more up-to-date link: ReportViewer Controls (Visual Studio 2012)
cimscimsAuthor Commented:
I don't want to use the reportviewer's print button. I'm showing a popup window which has a ssrs report viewer control on it. I want to show the print dialog on top of the report's window.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.