These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Add Water MArk or Title with current date to a pdf file

dana1
Registered: Jun 14 2011
Posts: 10

Hi
I wish to add a water mark or a title to a pdf document. it will include the current date or the date the user print the document
 
the admin have an acrobat pro version
but the rest of the users have acrobat reader
 
i wish no one will b able to chane the mark
the users whtch the pdf file in the browser
 
regards
Dana

try67
Expert
Registered: Oct 30 2008
Posts: 2398
You can use a text field. People with Reader can't delete it if you don't give them that right in Acrobat.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

dana1
Registered: Jun 14 2011
Posts: 10
10x for the response
I am not exeprt in acrobat- what line can i add in the text box
try67
Expert
Registered: Oct 30 2008
Posts: 2398
It depends what you want it to show. You were not very clear in your original post.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

dana1
Registered: Jun 14 2011
Posts: 10
i want it to show the current date
every time someone opens the file in the local or in the browser it will show the current date the file is opened
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Embed this code into your document (Advanced - Document Processing - Document JavaScripts)

getField("CurrentDate").value = util.printd("yyyy/mm/dd", new Date());


Of course, you will need to adjust the field name, and you can adjust the date format if you want.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

dana1
Registered: Jun 14 2011
Posts: 10
i dont have the
Document Processing - Document JavaScripts
what is that mean?
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Which version of Acrobat do you have?

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

dana1
Registered: Jun 14 2011
Posts: 10
the version:
Acrobat X Pro

dana1
Registered: Jun 14 2011
Posts: 10
maybe i need to enable something...
try67
Expert
Registered: Oct 30 2008
Posts: 2398
I don't have access to this version, but it's probably located somewhere else. You don't need to enable anything, as far as I know.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

dana1
Registered: Jun 14 2011
Posts: 10
what version u have' maybe ill replace mine
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Acrobat Pro 9, but Adobe doesn't sell that one any more.
I'm sure someone can come along and direct you where to look in Acrobat X.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi dana1,

In the top left side of the Acrobat X window you'll see a Tools button. Click on that and in the panel that opens navigate to JavaScript ->Document JavaScripts.Hope this helps,

Dimitri
www.pdfscripting.com
www.windjack.com
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
You may also need to first use the Edit Form to get the form field and access to the JavaScript.

George Kaiser

dana1
Registered: Jun 14 2011
Posts: 10
Hi all and thank u 4 the answers
that helped and i found the place where i can Embed the code
how can i actually place it on the document



dana1
Registered: Jun 14 2011
Posts: 10
Hi all and thank u 4 the answers
that helped and i found the place where i can Embed the code
how can i actually place it on the document



gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
Using the page open action: Displaying the current Date by Dave WraightYou can also use the document level JavaScript to populate a date field. Entering Document Scripts by Thom Parker.

George Kaiser