Skip to main content
Participating Frequently
May 9, 2023
Question

Watermark certain pages

  • May 9, 2023
  • 2 replies
  • 1628 views

Watermarks can be added natively as follows : 

  • To one page
  • To a continuous range of pages
  • To the entire PDF
  • To even-numbered pages
  • To odd-numbered pages

 

But not to specific pages.  The Acrobat UI handles page selection much like those familiar printer dialogue popups, but good luck in trying to add a watermark to pages 3, 12, 17, 21, 23, 25-29 in one go.  

 

Theres a thread about adding watermarks to every fixed number of pages, but the script on there didn't work - kept getting undefined errors. 

 

For example, using the 6-page test file attached, I'd want watermarks on pages 1,3,5,6.  In real life it'd hundreds of pages.  How do I add watermarks to a list of specified pages? 

 

Thanks.

This topic has been closed for replies.

2 replies

Participating Frequently
May 8, 2024

Is there a way to watermark an image to specific pages that contain certain text through the search text?

try67
Community Expert
Community Expert
May 10, 2023

"Undefined" is the opposite of an error, actually. It means the script ran without issues (and without returning a value). Since using a script is the only way to do it, I would recommend you try it again. If it doesn't work share the code you used, and what the results were.