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

Give script rights to adjust a secured document

Participant ,
Feb 21, 2018 Feb 21, 2018

Hey Everyone,

I have a pdf form that's secured (with a password) from unwanted editing (or possibly some light protection against people stealing the forms' scripts etc.)

However, I'd like to have a script remove certain empty pages when printing the pdf.

I got the script working as desired however when the editing password isn't entered the script gets a 'no rights' error when it tries to remove the empty page as instructed.

My question is this:

Is there a way to certify this on-print script so that it can remove the empty pages?

Thank you in advance for any trouble to be taken.

TOPICS
Acrobat SDK and JavaScript
659
Translate
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

correct answers 1 Correct answer

Community Expert , Feb 21, 2018 Feb 21, 2018

Not possible. What you can do, though, is open the Print dialog and populate it with the desired page numbers, omitting the empty ones.

It's then up to the user to print it using those pages. They can change it if they want to, though.

Translate
Community Expert ,
Feb 21, 2018 Feb 21, 2018

Not possible. What you can do, though, is open the Print dialog and populate it with the desired page numbers, omitting the empty ones.

It's then up to the user to print it using those pages. They can change it if they want to, though.

Translate
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
Participant ,
Feb 21, 2018 Feb 21, 2018

Hey there try,

Too bad, I guess the question will be what's more important to the users.

thank you for your swift response

Translate
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
LEGEND ,
Feb 21, 2018 Feb 21, 2018
LATEST

Remember too it can't work in the free Reader and won't work in most browsers.

Translate
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