Delete or mark the source PDF using javascript

New Here ,
Nov 21, 2017

Copy link to clipboard

Copied

Is it possible to embed javascript in a DPF so that when the print action happens it either (a) Closed the PDF which is being printed and deletes the file or (b) Watermarks the PDF and closed Adobe thus saving/overwriting the PDF which was printed?

TOPICS
Acrobat SDK and JavaScript, Macintosh, Windows

Views

69

Likes

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

Delete or mark the source PDF using javascript

New Here ,
Nov 21, 2017

Copy link to clipboard

Copied

Is it possible to embed javascript in a DPF so that when the print action happens it either (a) Closed the PDF which is being printed and deletes the file or (b) Watermarks the PDF and closed Adobe thus saving/overwriting the PDF which was printed?

TOPICS
Acrobat SDK and JavaScript, Macintosh, Windows

Views

70

Likes

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
Nov 21, 2017 0
Most Valuable Participant ,
Nov 21, 2017

Copy link to clipboard

Copied

A) Close the file: Yes. Delete the file: No.

B) Add a watermark: Yes. Save the file: Only if a special script is installed on the user's local machine. Close Acrobat: No.

Likes

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
Reply
Loading...
Nov 21, 2017 1
Most Valuable Participant ,
Nov 21, 2017

Copy link to clipboard

Copied

But your aim, whatever it is, is easily thwarted by the user copying the file first.

Likes

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
Reply
Loading...
Nov 21, 2017 1
Adobe Community Professional ,
Nov 21, 2017

Copy link to clipboard

Copied

... or opening it in just about any PDF viewer other the ones created by Adobe.

Likes

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
Reply
Loading...
Nov 21, 2017 0