Solved

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

Posted on 2013-06-14
4
1,412 Views
Last Modified: 2013-06-24
On my asp.net 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.
0
Comment
Question by:cimscims
  • 3
4 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39249872
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
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39249876
Here's a more up-to-date link: ReportViewer Controls (Visual Studio 2012)
0
 

Author Comment

by:cimscims
ID: 39250731
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.
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 39252248
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.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSRS Deployment problem 5 91
Securing WEBAPI on Azure 2 19
Problem to copy file 14 44
Converting PHP triple des decrypt to c# 9 62
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question