This is a migrated thread and some comments may be shown as answers.

Print to specific tray

1 Answer 196 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 16 Mar 2015, 09:42 PM
Is it possible to print a Telerik report to a specific printer tray using code (c#)? Or are there any suggested methods of making that happen? I've read about creating a PDF and using a third-party option to specify a tray.

No direct solution from Telerik?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Stef
Telerik team
answered on 19 Mar 2015, 11:48 AM
Hi Jan,

The solution we can suggest at this point is to set an appropriate PageSettings.PaperSource Property to a PageSettings object and pass that together with a PrinterSettings object to the Telerik.Reporting.Drawing.PageSettings Constructor. Then assign the new instance of the Telerik.Reporting.Drawing.PageSettings class to the report that is going to be printed.

Example how to print report programmatically with the ReportProcessor is available here. The same solution is discussed in the Reportprint with more then one tray forum thread.

I hope this suggestion points you in the right direction.


Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Jan
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or