Printing fails every time

5 posts, 0 answers
  1. H.-G.
    H.-G. avatar
    6 posts
    Member since:
    Mar 2011

    Posted 18 Oct 2012 Link to this post

    Every time we try to print a Document a white Space is added below every page. Even the sample from the Demo-App shows this Problem. We tested this on several machines with different Printers. We use the newest Assemblies (2012.2.1015.40). Attached is a Screenhot from a PDF-File that shows the default Sample from the Demo App printed via PDFCreator. We tried to change the SectionDefaultPageMargin, SectionDefaultPageSize, footer content, PrintSettings.PrintScaling, but nothing solves the issue.
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 18 Oct 2012 Link to this post

    Hello,

    When the comments of the document are shown (RadRichTextBox.ShowComments="True"), the document has to be scaled in order to have the comments show in the printed document. As the height/width ratio must be kept, this causes shrinking of the text in height, too. You can see that this is also the behavior in MS Word when there are comments in the document and they are shown at the time you print the document.

    You can hide the comments in order to print just the body of the document and then there will be no additional white space at the end of each page. This can be done using the ribbon UI - Review Tab -> Show/Hide Comments.

    I hope this helps.

    Regards,
    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. H.-G.
    H.-G. avatar
    6 posts
    Member since:
    Mar 2011

    Posted 18 Oct 2012 Link to this post

    Thank you for your Answer.
    This solves the Problem in the sample project but not in ours. In the Editor the document is displayed correctly but printing the document is still buggy. We don't use comments in our Editor. If the Print-Window resizes the document to keep the ration it might has something to do with the the display mode in the editor. Even blank pages are not displayed correctly after printing.

  5. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 19 Oct 2012 Link to this post

    Hello,

    We are not sure what could be causing the problem on your end, as everything works correctly in our tests.

    Could you isolate the issue in a sample project and send it to us in a support ticket, so that we can look into it and provide further assistance?

    Looking forward to your reply, either here or in a support ticket.

    Kind regards,
    Iva Toteva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. H.-G.
    H.-G. avatar
    6 posts
    Member since:
    Mar 2011

    Posted 22 Oct 2012 Link to this post

    We found the answer. We have to set the SectionDefaultPageSize. The default of 816,1056 does not work in PrintMode. After using the the PaperTypeConverter we got a Size of 793, 1123 for A4-Paper. This dimension works and the footer is displayed correctly.
Back to Top
UI for WPF is Visual Studio 2017 Ready