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

Batch Processing or Java?

mi1stormilst
Registered: Dec 27 2007
Posts: 13

If I have a multiple page document and I always need to print 3 copies of page 2 and 3 copies of page 6 how can I do this by running a sequence or placing a custom button in a Toolbar?

My Product Information:
Acrobat Pro 8.1, Windows
mi1stormilst
Registered: Dec 27 2007
Posts: 13
Anyone?
George_Johnson
Online
Expert
Registered: Jul 6 2008
Posts: 1876
You should look at the Acrobat JavaScript Reference for information on the doc.print() method. It includes some samples. With it, you can print a page range, and with the PrintParams object, specify the number of copies using the NumCopies property. So you could string together five print statements to do something like:

1. Print page 1: single copy
2. Print page 2: 3 copies
3. Print pages 3-5: single copy
4. Print page 6: 3 copies
5. Print pages 7-end: 1 copy

To create a custom toolbar, check out the documentation for the app.addToolButton.

George
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Thom Parker has a javascript suggestion for doing this at:
http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=3093
He mentions some undocumented javascript PrintParams.

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.