Slow Printing

4 posts, 0 answers
  1. Scott
    Scott avatar
    3 posts
    Member since:
    Jul 2011

    Posted 10 Oct 2012 Link to this post

    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.
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 12 Oct 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Scott
    Scott avatar
    3 posts
    Member since:
    Jul 2011

    Posted 18 Oct 2012 Link to this post

    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.
  5. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 19 Oct 2012 Link to this post

    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.

Back to Top