Hi,
We have a SSRS with SP 2010, We need to add one more Print All button which print all the records.
Without impacting the by default Print button which print record page by page
Thanks,
Taha
Technology Tips and News
Hi,
We have a SSRS with SP 2010, We need to add one more Print All button which print all the records.
Without impacting the by default Print button which print record page by page
Thanks,
Taha
Hi Taha,
Basically, the idea is that you create your own print renderer. You would render all report pages into images (either by filestream or memorystream), and pass the images to the printer. A word of advice, is if you decide to use MemoryStream (which is the easier
method, as it doesn't require cleanup), keep in mind that if your reports are very large, you may end up with out of memory issues.
Having a custom print method will give you full control on the report printing.
A MSDN article on the topic can be found at http://msdn.microsoft.com/en-us/library/ms252091%28VS.80%29.aspx
Also, if you google "Custom printing reportviewer", you will find many articles relating to this topic.
Milan,
How should this code is integrated with SSRS - Add a new print button feature!
There are several reports available on server, Need to provide Print All functionality without impacting Print One by One Page functionality.
I hope you understand this.
Thanks,
Taha