Forms data not printed

5 posts, 0 answers
  1. Ali
    Ali avatar
    14 posts
    Member since:
    Nov 2018

    Posted 03 Nov 2018 Link to this post

    When I try to print a PDF document with filled forms fields, the PDF is printed but the fields data is not.
  2. Tanya
    Admin
    Tanya avatar
    854 posts

    Posted 07 Nov 2018 Link to this post

    Hello Ali,

    Such a behavior could be related to the settings applied to the fields. We are currently unaware of an issue in the control related to the inability to print interactive forms. Would it be possible to share an example document which we can use to test the case?

    Regards,
    Tanya
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Ali
    Ali avatar
    14 posts
    Member since:
    Nov 2018

    Posted 09 Nov 2018 in reply to Tanya Link to this post

    Thank you for your response.

    I just tried to fill the form on the demo site https://demos.telerik.com/silverlight/#PdfViewer/InteractiveForms

    And then printed using the toolbar button.

    You can see the result on the attached image

  4. Tanya
    Admin
    Tanya avatar
    854 posts

    Posted 14 Nov 2018 Link to this post

    Hi Ali,

    The documents in the examples don't have the setting allowing you to print a widget enabled and that is why the values of the fields are lost when printing. You can change this setting through the IsPrintable property of the Widget assigned to the field. Here is a simple example of how to achieve that:
    foreach (var field in this.pdfDocument.AcroForm.FormFields)
    {
        foreach (var widget in field.Widgets)
        {
            widget.IsPrintable = true;
        }
    }

    Hope this helps.

    Regards,
    Tanya
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. Ali
    Ali avatar
    14 posts
    Member since:
    Nov 2018

    Posted 14 Nov 2018 in reply to Tanya Link to this post

    Great!

    Thank you very much!!!

Back to Top