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

Import/Export watermarks in Acrobat

Community Beginner ,
Feb 07, 2020 Feb 07, 2020

Copy link to clipboard

Copied

Hello!

 

I have a bunch of watermark settings saved. I'd like to be able to share them with other users. How do I export them?

 

Thanks!

TOPICS
Print and prepress

Views

6.6K

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
1 ACCEPTED SOLUTION
Community Expert ,
Mar 04, 2020 Mar 04, 2020

Copy link to clipboard

Copied

"What's the path on a Mac?"

/Users/NAME/Library/Preferences/Adobe/Acrobat/DC/Watermark/

View solution 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
Community Expert ,
Feb 07, 2020 Feb 07, 2020

Copy link to clipboard

Copied

You will find many of the Acrobat preferences in XML files at the location returned by this JavaScript funtion:

 

app.getPath("user","preferences")

 

For windows this path is:

/C/Users/<user>/AppData/Roaming/Adobe/Acrobat/Beta/Preferences/Watermark

 

There will be one XML file for each watermark definiton. To share your preferences, copy these files to the same location on the different computer. 

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
Community Beginner ,
Mar 03, 2020 Mar 03, 2020

Copy link to clipboard

Copied

What's the path on a Mac?

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 03, 2020 Mar 03, 2020

Copy link to clipboard

Copied

I believe it is in this folder, but I'm not completely sure:

/Macintosh HD/Users/[..user name..]/Library/Application Support/Adobe/Acrobat DC/Preferences

 

The only way to be sure is to create a custom watermark preference, and then run the code I posted above in the console window  

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
Community Beginner ,
Mar 04, 2020 Mar 04, 2020

Copy link to clipboard

Copied

The code above doesn't work when I run it in Terminal; I get a 

-bash: syntax error near unexpected token `"user","preferences"'

 

At this filepath: Users⁩ ▸ ⁨[username]⁩ ▸ ⁨Library⁩ ▸ ⁨Application Support⁩ ▸ ⁨Adobe⁩ ▸ ⁨Acrobat⁩ ▸ ⁨DC⁩ ▸ ⁨UserPrefs⁩, there are two text files.

 

I searched the whole Library folder and the only watermark folder that came up was for Lightroom. 

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 04, 2020 Mar 04, 2020

Copy link to clipboard

Copied

What do you mean by terminal? The code is meant to be run in the Acrobat JavaScirpt Console Window.

 

 

 

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
Community Expert ,
Mar 04, 2020 Mar 04, 2020

Copy link to clipboard

Copied

"What's the path on a Mac?"

/Users/NAME/Library/Preferences/Adobe/Acrobat/DC/Watermark/

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 ,
Apr 17, 2020 Apr 17, 2020

Copy link to clipboard

Copied

I was able to get them shared on a Mac, no problem, thank you! I'm still having trouble with PC though. XML watermarks are stored on my PC here:/Local Disk (C:) / Users /<your profile> / AppData / Roaming / Adobe / Acrobat / DC / Preferences / Watermark

 

My watermark is a JPG, not text.

Even when I put the JPG into the file specified by the XML watermark, I get an error about a source file not being available.

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 ,
Apr 17, 2020 Apr 17, 2020

Copy link to clipboard

Copied

Since your watermark is from a file, the XML will contain a "SourceFile" tag with the full path to that file.  Notice that this path uses the Acrobat Device Independent File spec. It's not finding your file because the path is bad, or in the wrong format. 

Here's an article that explains the Device Independent File path format:

https://acrobatusers.com/tutorials/file-paths-acrobat-javascript/

 

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 ,
Jan 28, 2025 Jan 28, 2025

Copy link to clipboard

Copied

LATEST

If none of the above works, you can open a previous file that contains the watermark, delete all of the content.  This will leave only the watermark on the page.  Then save it using a new name, like "watermark1".   Then open the file you want to apply the watermark to and add your recently created file as the watermark.  You may have to manipulate the size of the watermark.  For me, I just made it 100% and it worked just as before.  Then "Save Settings" and give your new watermark a name.   All done and it will be available as watermark for future documents.

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