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

Apply Stamp Tool to All Pages in a PDF?

Community Beginner ,
Mar 09, 2012 Mar 09, 2012

Copy link to clipboard

Copied

Is there a way to have Acrobat Pro X apply a stamp to all pages in a document? For example, if I am sent a set of plans that I want to mark "Not Approved", is there a way to click the Not Approved Stamp on page one and have it apply to all pages in the document?

Thanks!

Views

91.1K

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

correct answers 1 Correct answer

Community Beginner , Aug 01, 2014 Aug 01, 2014

Hi Again,

Thanks for replying so fast. I now tried the below code as you suggested but it still gave a syntax error. I am copying/pasting all information from the console:

// Assume that the stamp is the only

// annot on the page

this.syncAnnotScan();

var annt = this.getAnnots(this.pageNum)[0];

var props = annt.getProps();

for(var i=0;i < this.numPages;i++){

props.page = i;

if(i != this.pageNum)

this.addAnnot(props);

}

SyntaxError: syntax error

1:Console:Exec

undefined

Votes

Translate

Translate
New Here ,
Dec 05, 2014 Dec 05, 2014

Copy link to clipboard

Copied

All,

First time poster here.  Let me first start out by saying WOW this forum has saved my bacon, so special thanks to all the posts.

I would like to ask if it is possible to do the same thing as listed above, however, to place a number range (i.e. only apply to pages 700-900).  Is this possible, and how would I do so?

Also, if i wanted to place a hyperlink over the stamps, is their a similar javascript that I could execute to copy the same hyperlink of the stamps I just applied in pgs 700-900?

Special thanks to anyone who can help!!

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 Beginner ,
Jan 04, 2016 Jan 04, 2016

Copy link to clipboard

Copied

Just use the watermark feature.  You can select a source file and add it to all of the pages.  No code.

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
New Here ,
Jan 05, 2017 Jan 05, 2017

Copy link to clipboard

Copied

In watermark feature and also in stamp don't have transparency, There is a solution to put some sing form a draw on all pages?

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
New Here ,
Jan 20, 2016 Jan 20, 2016

Copy link to clipboard

Copied

Great question and answers. Thank yo all. Super

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
New Here ,
Feb 26, 2020 Feb 26, 2020

Copy link to clipboard

Copied

First select stamp from list and stamp on single page then again clink on that stamp(where you stamp on document) then go to add on tools and select BATCH STAMP. Here you can set page range/multiple pages at one.

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 ,
Feb 28, 2020 Feb 28, 2020

Copy link to clipboard

Copied

Ha ha, first you have to have the "Batch Stamp" script installed.  This does not come with Acrobat. It's an "Add-on"

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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
New Here ,
Feb 10, 2021 Feb 10, 2021

Copy link to clipboard

Copied

The JavaScript on this forum works for however I have an issue. We need two different persons stamp on the PDF , the code only allows one use stamp if I try another stamp the code doesn't work. Can someone please help me with the code for multiple stamps on multiple/all pages - it would help a lot !! 

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
New Here ,
Feb 11, 2021 Feb 11, 2021

Copy link to clipboard

Copied

Sir you can apply 1 stamp at once then flatten the page and close the file.
open the file again and apply 2nd stamp. Hopefully it will help you.

Regards

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 ,
Feb 11, 2021 Feb 11, 2021

Copy link to clipboard

Copied

In the code, this line:

var annt = this.getAnnots(this.pageNum)[0];

 

acquires the first annotation on the current page, then that stamp is copied. 

Replace that code with this,

 

var annt = this.selectedAnnots[0];

 

This code aquires the selected stamp. So 

1. Place a stamp on the page.

2. Select it,

3. Run the code whith my modification.

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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 ,
Feb 22, 2024 Feb 22, 2024

Copy link to clipboard

Copied

@Thom Parker Will this only work on Pro X or will it work on Standard? Also, Where do I enter this script  to get the batch "add-on"?

Thanks!

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 ,
Feb 22, 2024 Feb 22, 2024

Copy link to clipboard

Copied

The Batch stamp add on is an "Action" that runs the JavaScript discussed in this thread.  Actions are only available in Acrobat Professional. Lookup the "Action Wizard"

However, the code itself will work in Acrobat Reader and Standard when run from the console or an automation script. 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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 ,
Feb 22, 2024 Feb 22, 2024

Copy link to clipboard

Copied

@Thom Parker Sorry, im trying to learn - but where do I open the console or where do i run the automation script in Standard?

thanks!

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 ,
Feb 22, 2024 Feb 22, 2024

Copy link to clipboard

Copied

LATEST

The console window is not directly available in Reader or Standard.

Download and install the Reader Consol tool here:

https://www.pdfscripting.com/public/Free_Acrobat_Automation_Tools.cfm

 

Then watch this video:

https://www.pdfscripting.com/public/images/video/AcroJSIntro/AcroJSIntro_ConsoleWindow.cfm

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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