Skip to main content
acrobat_pro_extended_9
Participant
May 1, 2018
Question

Counter for prints of a pdf file

  • May 1, 2018
  • 3 replies
  • 833 views

I would like to have a javascript keep a rolling counter for the amount of times a file gets printed.  This would not reset on open of the file, but just continue from the last number of the print.

Is there any way of doing this with JS?

Any help would be appreciated.

thanks

This topic has been closed for replies.

3 replies

try67
Community Expert
Community Expert
May 1, 2018

Even if it did work, someone could print 100 copies of the file with a single print command, and the script will be none the wiser. It will only count it as a single print. In other words, it's quite a useless feature.

Joel Geraci
Community Expert
Community Expert
May 1, 2018

There's no reliable way to do this using JavaScript. JavaScript could be turned off in the Adobe products or the PDF could be opened in some other viewer. Your best bet is to use something FileOpen instead.

Legend
May 1, 2018

Where would you plan to keep the counter? If it's in the file, can you guarantee the user will save the file after each print?