Missing text when printing from C1DocumentViewer

Posted by: gregor.sch on 16 June 2019, 11:46 pm EST

    • Post Options:
    • Link

    Posted 16 June 2019, 11:46 pm EST

    When printing to HP printers from the C1DocumentViewer, the text is not printed (some random letters or partial letters may appear scattered on the paper), even though the preview is displayed correctly. Lines, row-backgrounds etc. are printed as expected.

    Adding an extra button outside the C1DocumentViewer with “doc.Print()” or “doc.PrintDialog()” in the click-event prints the document correctly.

    From the information we have, this only occurs when printing to HP printers (network or USB), other printers seem to process the page correctly (tested on Canon and Kyocera). Export / print to pdf works correctly as well.

    We need a solution to this ASAP, either by a working version of the control or by re-routing the print-button-click-event.

  • Posted 18 June 2019, 12:06 am EST

    Hi,

    Based on your investigation the issue is looks specific to only some printers, so we need your report to verify the same at our end.

    1. Meanwhile, could you please share what ComponentOne version are you using and facing issue with? Could you test the issue using the latest version: http://prerelease.componentone.com/dotnet40/c1wpflibrary/2019-t1/C1WPFBasicLibrary.4_4.0.20191.627.zip
    2. Also, based on your statement that the issue does not come when printed manually through a button, you can refer the following article that guides on how to override the Print button in C1DocumentViewer. Inside the PrintButton.Click event handler, you can then manually invoke the document’s Print method like you tested with the button’s click event.

    Kind regards,

    Ruchir

  • Posted 18 June 2019, 12:57 am EST

    Hi Ruchir,

    I was using the latest version available through C1Live (4.0.2191.363). I’m out of the office for a couple of days, so I will try the prerelease version and send the reports as soon as I get back.

    In the meantime, please send the link to the article you referred to, you forgot to include it in your previous reply.

    Tanks, Gregor

  • Posted 18 June 2019, 1:17 am EST

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels