Copy link to clipboard
Copied
Hi I need to set a work computer to open a file and print it and then close the file. I will settle for just leaving a file open and having it print a test page every 24 twelve hours. They have an expensive inkjet that I want to keep from drying out. I know very little about scripts. I don't even know where I add the coding. I don't even know if this can be done in acrobat.
Copy link to clipboard
Copied
If you leave the file open then you can do it, yes. You can run this code from the JS Console to set up a script that will print the current file (silently) once every 12 hours:
var to1 = app.setInterval("this.print({bUI: false, bSilent: true});", 12 * 3600000);
To stop the code from running you will need to close Acrobat.