I'm looking for help with automatically printing the pdf that is created from my .igr when my web page runs. I use a combination of exporter and memorystream to write the pdf to a server folder. (see my previous forum post titled "Emailing a report created by the report exporter"
Then I tried using ProcessStartInfo with verb="Print" to actually print the pdf.
This works great on my development PC - however, it does not work on the web server. The pdf gets created in the server folder, but the pdf does not print. In fact, I have no idea what happens. There is no error - and there is nothing on the printer.
I've spent several hours googling for a solution without success.
Hello Sylvia,What exactly do you need? There is no way to print pdf automatically after the page is loaded without prompting the user.
I'm looking for a way to batch print a group of reports. The user would enter a range of dates, and then I would print one report for each record I found within that range.
I wanted to do it from a button click in the web app. It appears it is not possible however.
So, now I"m thinking I will create a windows app which can be run from a job scheduler or user interaction.
I want to use the existing report I created in the web app. Can I just pull it into a windows app? How would I pass parms to it?
If you can point me to some documentation or examples for creating windows apps using NetAdvantage Reporting that would be a great start.
Thx!
Hi,m using report object to generating print preview for xamdatagrid , however if the grid contains data in bulk,preview generation gets very slow and takes quite a long time.is there any solution or work aorund to make its performance better?i am working on wpf application
Hello Sylvia,
You can follow this articles here they will give you some start points:
http://blogs.infragistics.com/blogs/mihail_mateev/archive/2011/11/25/how-to-pass-parameters-to-reports-using-infragistics-reporting-with-wcf-ria-services-and-client-side-rendering.aspx
http://forums.infragistics.com/blogs/mihail_mateev/archive/2011/11/11/implementing-client-side-rendering-for-infragistics-reporting.aspx
As I can understand correctly you will need to customize your own report dynamically base to any parameters send to the application. There is a possibility to do this with Infragistics.Documents.Reports.Report assembly you can create the whole report manually using it and to style it. There is good sample in the win forms sample if you have them installed on your machine with a sample code.
The sample you can download from here:
http://samples.infragistics.com/
Go to Win forms section.
Here you will find a start point for this in our documentation:
http://help.infragistics.com/NetAdvantage/WinForms/2011.2/CLR2.0/?page=Infragistics2.Documents.Reports.v11.2~Infragistics.Documents.Reports.Report.Section_namespace.html
For any further questions do not hesitate to contact us.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support