deviceInfo(Javascript) encryptForRecipients - Permissions

1 Answer 79 Views
.NET Framework Accessibility General Discussions Report Designer (standalone) Report Parameters Security
Objectway Financial Software
Top achievements
Rank 1
Objectway Financial Software asked on 21 Apr 2022, 10:16 AM

How use deviceInfo(Javascript) to export a PDF file protected (no copy) but with print?

How use set allowContentExtraction=false and allowPrinting in javascript?

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 26 Apr 2022, 08:19 AM

Hello Maurizio,

We embed the JavaScript in the generated PDF documents based on the Adobe specifications. You may find useful the following resources:

Here is a sample for embedding the JavaScript for invoking the print dialog of the PDF reader taken from the examples referenced in the KB Print a report directly at the client-side without displaying it in a Viewer:

deviceInfo["JavaScript"] = "this.print({bUI: true, bSilent: false, bShrinkToFit: true});";

Regards,
Todor
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
.NET Framework Accessibility General Discussions Report Designer (standalone) Report Parameters Security
Asked by
Objectway Financial Software
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or