How can I print SSRS report from VB.net Windows application
Hi
I am trying to print the SSRS reprot directly from program
I am using following code, see the link for code
http://blogs.msdn.com/b/bryanke/archive/2004/02/11/71491.aspx#code
But it gertting printttd but giving the all text as ZOOM, so plz can u tel me why it is happinging
April 15th, 2011 4:37am
Please check this http://www.sqlservercentral.com/Forums/Topic309643-145-1.aspx#bm309990http://uk.linkedin.com/in/ramjaddu
Free Windows Admin Tool Kit Click here and download it now
April 15th, 2011 4:44am
What you are trying to say ...
Not getting anything with link
April 15th, 2011 5:09am
Hello,
You can use the Microsoft ReportViewer Control (WinForms) for this, see e.g.
Deploying Reports and ReportViewer Controls and
How do I use ReportViewer 2010 in Visual Studio 2008 project?
Download at
Microsoft Report Viewer 2010 Redistributable PackageOlaf Helper
* cogito ergo sum * errare humanum est * quote erat demonstrandum *
Wenn ich denke, ist das ein Fehler und das beweise ich tglich
Blog
Xing
Free Windows Admin Tool Kit Click here and download it now
April 15th, 2011 5:24am
NO , I wanted to use with programatically,
Just on click a single buttone, it get automatically printed to default or mention printer
April 15th, 2011 5:28am
Using a control is programmatically.
Then you have 3 options:
- You still use a invisible ReportViewer to print.
- You do a http request on the report manager url by using
Url Access Parameter.
- You use the SOAP interface to render a report.
Olaf Helper
* cogito ergo sum * errare humanum est * quote erat demonstrandum *
Wenn ich denke, ist das ein Fehler und das beweise ich täglich
Blog
Xing
Free Windows Admin Tool Kit Click here and download it now
April 15th, 2011 5:42am
If you have any idea how to use invisible ReportViewer to print. then plz let me knwo
April 15th, 2011 5:45am
You place the control on your form and set the property "Visible" to false (or size it to 0x0). Sample how to use see
MSDN: Using the WinForms ReportViewer Control
As you can see in the
MSDN ReportViewer-Class description, there a several usefull method's for your purpose, like
PrintDialog to select a printer & print.Olaf Helper
* cogito ergo sum * errare humanum est * quote erat demonstrandum *
Wenn ich denke, ist das ein Fehler und das beweise ich tglich
Blog
Xing
Free Windows Admin Tool Kit Click here and download it now
April 15th, 2011 5:59am
No.. We dont want to use a Report viewer as we are doing a .dll which is ocmpatable for all versions of our others applications,
So if you have any idea how to send a Byte array to windows API or SYstem. Drawing.PrintDialog then please let me know
April 15th, 2011 7:16am
Hi GauriAShitre,
I have gone through the article that you mentioned carefully. From the description, I noticed that the Reports can be printed. To my understanding, the zoom issue that we experienced is much more likely a C# Printing issue, and maybe we need to modify some
of the sample code provided in that article.
Please understand that we mainly discuss Reporting Services issues in this forum. As your issue is related to programing, I would suggest you seek resources from C# forum:
http://social.msdn.microsoft.com/Forums/en/category/visualcsharp. There are many experts focus on it.
If you have other question, please feel free to ask.
Thanks,
Eileen
Free Windows Admin Tool Kit Click here and download it now
April 19th, 2011 9:04am