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

Close PDF Document automatically after printing

axgoetz
Registered: Nov 22 2007
Posts: 7

hi Experts,

i have a problem:
I get from archiv a pdf Document and I want to print it. That work all correct.
But after print out the report wait if the user close the acrobat reader.
I seek an order or option, so the acrobat reader will close automatically after printing the actueal pdf document, so the report can load and print the next document.
Does someone know a good solution?

Thank You
Axel

tedpadova
ExpertTeam
Registered: Dec 31 2005
Posts: 848
You can add a Document Action JavaScript using Acrobat 8 Pro. Choose Advanced > Document Processing > Set Document Actions. From the list choose Document Did Print. Click the Edit button and add the following script:this.closeDoc();

ted

The author of numerous books on Acrobat, Photoshop, Illustrator and the Adobe Creative Suite, and an international speaker on Adobe Acrobat, Ted Padova is a well-known PDF guru.

axgoetz
Registered: Nov 22 2007
Posts: 7
Thank you for your answer.
But I don't understand where i have to implemented the javascript.
I start the acrobat reader from a SAP System and I can give command only with the command line.

Best regards
Axel