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

Shrink Document in Appearance Option of Header & Footer (Add) in Action Wizard does not get applied to every page

Explorer ,
Mar 20, 2017 Mar 20, 2017

Copy link to clipboard

Copied

Hi,

I am using the action wizard to try to make sure the header/footer created in the java script is applied after the content of chosen PDF files is shrunk to avoid overwriting of content.  To do this, I brought over the "Header & Footer (Add)" prior to the Java Script Code.

Within the "Header & Footer (Add)" Option, I selected "Appearance Options" and checked the "Shrink document to avoid overwriting***" and made sure "Page Range Options" is set to "All Pages."

However, the action wizard only shrinks the first page.  The subsequent pages in the pdf file get overwritten with the header/footer created in the Java Script code. What am I doing wrong?  I am using Adobe Acrobat Pro X on Windows 7 machine.

TOPICS
Acrobat SDK and JavaScript , Windows

Views

2.5K

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 ,
Mar 20, 2017 Mar 20, 2017

Copy link to clipboard

Copied

Click the Page Range Options button in the Add Header and Footer dialog and make sure it is set to process the entire file...

Votes

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
Explorer ,
Mar 20, 2017 Mar 20, 2017

Copy link to clipboard

Copied

HI,

I do have it on the entire range:

Votes

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 ,
Mar 21, 2017 Mar 21, 2017

Copy link to clipboard

Copied

Do all the pages in the file have the same size?

Votes

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
Explorer ,
Mar 25, 2017 Mar 25, 2017

Copy link to clipboard

Copied

Yes, they are all the same pages.

So I did some experimenting and here is what i figured out on my 2-page document where the 1st page is labeled fine and the 2nd page gets over-written.

 

If anyone can help me understand how to prevent the subsequent pages from being overwritten when there is a container error on the 1st page, please let me know. 

As I stated before, I am using the action wizard to try to make sure the header/footer created in the java script is applied after the content of chosen PDF files is shrunk to avoid overwriting of content.  To do this, I brought over the "Header & Footer (Add)" prior to the Java Script Code.Within the "Header & Footer (Add)" Option, I selected "Appearance Options" and checked the "Shrink document to avoid overwriting***" and made sure "Page Range Options" is set to "All Pages." See screen shots in original post.

Votes

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
Explorer ,
Mar 26, 2017 Mar 26, 2017

Copy link to clipboard

Copied

LATEST

Votes

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