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

Forms data not printed

4 Answers 7 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Ali
Top achievements
Rank 1
Ali asked on 03 Nov 2018, 08:41 PM
When I try to print a PDF document with filled forms fields, the PDF is printed but the fields data is not.

4 Answers, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 07 Nov 2018, 05:23 PM
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.
0
Ali
Top achievements
Rank 1
answered on 09 Nov 2018, 04:30 PM

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

0
Tanya
Telerik team
answered on 14 Nov 2018, 09:30 AM
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.
0
Ali
Top achievements
Rank 1
answered on 14 Nov 2018, 11:58 AM

Great!

Thank you very much!!!

Tags
PDFViewer
Asked by
Ali
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Ali
Top achievements
Rank 1
Share this question
or