• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Problem with PRINT permissions in the Adobe API

New Here ,
Sep 22, 2021 Sep 22, 2021

Copy link to clipboard

Copied

Hello team;

I need help with a "print" instruction in my own code.

In my code, I have created a tool that allows me to edit and lock my own reports pdf wit ADOBE API.

but after that i can't print it and i think i put the correct function; addPermissions .... "PRINT" ...

Can you help me with that?

 

example:

.....
      permissions.addPermission(protectPDFOptions.Permission.PRINT_LOW_QUALITY)
      permissions.addPermission(protectPDFOptions.Permission.EDIT_DOCUMENT_ASSEMBLY)
      permissions.addPermission(protectPDFOptions.Permission.COPY_CONTENT)
      const options = new protectPDFOptions.PasswordProtectOptions.Builder()
        .setOwnerPassword(config.pdf_lock_password)
        .setPermissions(permissions)
        .setEncryptionAlgorithm(protectPDFOptions.EncryptionAlgorithm.AES_256)
 .setContentEncryption(protectPDFOptions.ContentEncryption.ALL_CONTENT_EXCEPT_METADATA)
        .setContentEncryption(protectPDFOptions.ContentEncryption.ALL_CONTENT)
     ......

 

info: https://opensource.adobe.com/pdfservices-node-sdk-samples/apidocs/latest/PasswordProtectOptions.html...

TOPICS
Acrobat SDK and JavaScript

Views

28

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 22, 2021 Sep 22, 2021

Copy link to clipboard

Copied

LATEST

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines