Skip to main content
Participant
August 30, 2006
Question

Print File Name with pdf Document

  • August 30, 2006
  • 93 replies
  • 245470 views
In order to have an audit trail / track a document, I want to print the file name as a header or footer when printing the documents. How can this be done?
This topic has been closed for replies.

93 replies

Bernd Alheit
Community Expert
Community Expert
November 20, 2008
You can change the text in the JavaScript code. You can change also the color of the form fields. Details in the Acrobat JavaScript Reference.
November 20, 2008
Bernd,

I didn't mean the actual copy of the PDF file, I was referring to the JavaScript Header/Footer output.

I would be very helpful if we could modify the word "Page" when referring to the Page #/#. We would want the words "FINAL PRINT COPY" #/#. Also the date could be in GREEN also.

KPanthen, New York
Bernd Alheit
Community Expert
Community Expert
November 20, 2008
> Does anyone know where we could change the COLOR of all the text and specific words?

Change the original document and create a new PDF document.
November 20, 2008
Does anyone know where we could change the COLOR of all the text and specific words? I want to add a FINAL PRINT COPY, instead of the word Page. Also, we want the text to be GREEN instead of default black.

KPANTHEN, Albany, NY
Bernd Alheit
Community Expert
Community Expert
November 19, 2008
Where did you save the script?
Participating Frequently
November 19, 2008
thank you all for the replies and what has been a tremendous effort on this thread.

I have tried each of the scripts several times, each time exiting the program and relaunching. Still no change in the menu selections. I assume it's not any kind of administrative permissions issue?

I've checked the preferences and 'enable javascript' is selected. The files have been saved with the .js extension and their icon indicates that they are scripts.

I am running v. 8.1.3. any other thoughts? Thanks.
Inspiring
November 19, 2008
Batch processing is only available in the Professional or Extended veriations.
Participant
November 19, 2008
Reinhard's script DID work in Acrobat 8 Standard.

My post the other day has been resolved! I used Acrobat 9 Pro and did a batch process. I added a step in a new batch using "Add Printer Marks" and selected the "Page Information" box.

I kept looking for this option but it seems it is only available in the Professional version, NOT the Standard version!!

Thank You all for your help! Will
Inspiring
November 19, 2008
It works with Acrobat 8.1.1 Professional on Windows XP.

After you save this script in the appropriate folder, you need to exit and restart Acrobat for it to take affect. And you should then see the new option under the 'File' menu option.
ReinhardF
Participating Frequently
November 19, 2008
Mmmh,

if you have copied the download version (Post #13) into the correct folder (...\javascript} you should at least:
- get an error message or
- see at least the menuitems "Set/Remove Footer" under the main menuitem "File".

Some other who have used it under AS8?
My version is still AA5.

Best regards, Reinhard