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

Slow Printing

3 Answers 210 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 10 Oct 2012, 02:53 PM
I am using both the RadRichTextBox and RadPdfViewer to view and print documents.  I am finding that it takes around 15 seconds to print a 1 page DOCX file from the RadRichTextBox and 12 seconds to print a 1 page PDF file from the RadPdfViewer.  I am using a WinForms program to host WPF UserControls of the RadRichTextBox and RadPdfViewer (in case that matters).  

I have also tested printing from the Demo controls "PDF Viewer - First Look" and the "RichTextBox - Telerik Editor" and I am getting the same results.

Is 12 - 15 seconds the expected time to print from a RadRichTextBox and RadPdfViewer?  If not, do you have any suggestions or tweaks?  I am running a Windows 7 Pro 64-bit computer and I am running the Telerik controls I am using are 2012.2.912.40.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 12 Oct 2012, 01:21 PM
Hi Scott,

There may be something specific about the documents you are trying to print or the printer itself. On my end (also using Windows 7 64-bit), the demo document of RadRichTextBox which contains 8 pages is printed to the XPS printer in less than 3 seconds. We have not observed such an issue with RadPdfViewer either.

Are you observing the issue with different documents and printers or it depends on the files and printers you use?

Greetings,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Scott
Top achievements
Rank 1
answered on 18 Oct 2012, 06:49 PM
After testing printing on several different networked printers, it appears the slow printing is only on a particular printer, a Sharp MX-4111N (and the driver I am using is a PCL6).  The drivers on this printer were recently updated, and I am not experiencing the same slowness on our HP networked printers.

It does not matter which files I use; the files that are used in the demo or any local files on my system all have the same slowness when printing to our Sharp MX-4111N printer.

If you have any suggestions on what may be causing the issue I would appreciate the advice.
0
Iva Toteva
Telerik team
answered on 19 Oct 2012, 04:43 PM
Hi Scott,

The responsibility of the control is to present a paginated version of its content to the PrintDialog.PrintDocument method. The logic we have implemented does not have anything to do with the device used and will be executed in the same way for all printers. How WPF proceeds to print the paginated document is not something we have control over and apparently this is what slows down the printing to the printer you have mentioned.

If the problem were to be document-specific, we could have looked into the issue to see if it is related to the way we process the document. As this is not the case, unfortunately we cannot come up with any suggestions on how this issue can be solved.

All the best,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
PDFViewer
Asked by
Scott
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Scott
Top achievements
Rank 1
Share this question
or