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

Printing to printer other than default

1 Answer 132 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Cameron Molyneux
Top achievements
Rank 1
Cameron Molyneux asked on 21 May 2012, 06:58 AM
Hi

I'm using the WPF rad control as a print server type application for our silverlight solution (i.e a windows service that prints all completed reports!)

Anyway what I cant workout is how to print a a device other than the default using native printing

I want to open up my report from the DB, check which printer this particular report is to go to and print to it (and a specific tray) without any user intervention

We did this previously with the winforms control txtextcontrol and wonder if you could advice the best way to do with telerik controls

Thanks in Advance

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 23 May 2012, 06:57 PM
Hello Cameron, 

RadRichTextBox has an implementation of printing only using the PrintDialog. We have logged a feature request to implement printing to the default printer without any user interaction, but we have not scheduled it yet. That is why we have not researched how "direct" printing can be implemented yet.

When it comes to silent printing to the default printing, you can vote for this feature and track our progress using this PITS issue. You can also download the source code of the controls in order to see how the pagination has been achieved in our implementation of printing. As for printing to a specific printer, you can search through MSDN and the related forums. This thread for example discusses this topic.

I hope this helps.
Regards,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Cameron Molyneux
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or