6 Answers, 1 is accepted
0
Hi Sam,
Thanks for your interest in the Reporting tool.
Currently you can't print the reports programmatically as this feature is not implemented. We plan to add it in future but at this moment we are not quite sure exactly when it will be added.
Regards,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thanks for your interest in the Reporting tool.
Currently you can't print the reports programmatically as this feature is not implemented. We plan to add it in future but at this moment we are not quite sure exactly when it will be added.
Regards,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

ScottR
Top achievements
Rank 1
answered on 24 Aug 2007, 02:59 PM
sami,
You could consider generating the report as a PDF byte array then using something like ABCPDF to print it.
Just an idea.
Scott
You could consider generating the report as a PDF byte array then using something like ABCPDF to print it.
Just an idea.
Scott
0

Andre Viens
Top achievements
Rank 1
answered on 29 Jan 2008, 06:41 PM
Hello,
I was wondering if there was any update on this? I too have a need where I would like to generate a print job programmatically.
When this feature is available, would it be possible to for it to do the following things:
I was wondering if there was any update on this? I too have a need where I would like to generate a print job programmatically.
When this feature is available, would it be possible to for it to do the following things:
- Automatically print a job to the default printer without asking for a default printer.
- And also have a way to have the print selection box come up.
Reason why is I'd like to set the viewer to false, and simply allow a person to hit the print button and have it start the print job. I would then also set a "Select Printer to Print" button so that they could choose a custom one if they wanted to.
Thanks for listening.
Andre
0
Hello Andre Viens,
To print a report programmatically you should use the Telerik.Reporting.Processing.ReportProcessor.Print method and supply it with the instances of a report and a printer settings objects. In the attached sample solution you can find a little demonstration of this technique, especially:
Sincerely yours,
Ivan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
To print a report programmatically you should use the Telerik.Reporting.Processing.ReportProcessor.Print method and supply it with the instances of a report and a printer settings objects. In the attached sample solution you can find a little demonstration of this technique, especially:
- printing directly to the default printer;
- printing directly to the specified printer;
- open print dialog to choose printer to print on.
Sincerely yours,
Ivan
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Kurtis
Top achievements
Rank 1
answered on 14 Dec 2017, 04:17 PM
Is there by chance an updated version of this example? I can't seem to find many thread past 2008 about programmatic printing (all seems to be MVC or API hosted and I just need a console service that automatically prints)
0
Hi Kurtis,
ReportProcessor.Print method became obsolete. You can use ReportProcessor.PrintReport method for printing report. This method expects a valid ReportSource object and a PrinterSettings object.
An example of using PrintReport() method is provided here.
Regards,
Katia
Progress Telerik
ReportProcessor.Print method became obsolete. You can use ReportProcessor.PrintReport method for printing report. This method expects a valid ReportSource object and a PrinterSettings object.
An example of using PrintReport() method is provided here.
Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
Hi Ben,
You may use the ReportProcessor.PrintReport method to print your reports programmatically. Note that it has several overloads.