A Script for Printing by Master Page
Did you ever wish you could print a set of pages from an InDesign document according toĀ which master page they were based on? Something like that might come in very handy with certain long documents when you just need to print a specific subset of pages. For example, sayĀ you wanted to print out all the chapter opener spreads in a book to compare them. The script saves you the trouble of finding the chapter openers and remembering their page numbers to enter in the Print dialog box.

The script was written by Jongware, in response to a request on the InDesign Scripting forums, and you can find it here. ItĀ works with InDesign CS4-CC 2014.
To use the script, copy the full text of it from the forums and paste it into a plain text document, then save it with the extension .jsx and place it into your InDesign User scripts folder. How do you findĀ your InDesign User scripts folder? Just right-click on itĀ in the scripts panel and choose Reveal in Finder/Explorer.

When you run the script, you get a simple dialog box asking which master has been applied to the document pages you want to print.

The Print dialog box opens with the correct pages listed in the Range field. Pretty cool, eh?

Note: the script displays an error if you choose an unused master page.
For tons more great info on InDesign’s long document features, best practices, andĀ third-party add-ons, check out issue 65 of InDesign Magazine.
This article was last modified on July 25, 2019
This article was first published on September 8, 2014
Commenting is easier and faster when you're logged in!
Recommended for you
New Contest! Solve the Mystery of the Upside-Down Master Page
Hey folks, it’s contest time again! Last month, many of you unraveledĀ the...
100 Free InDesign Scripts
Free for the taking: a heaping helping of features that make InDesign better, fa...
Tip of the Week: Pasting Photoshop Vector Paths into InDesign
There are three new Links panel icons in InDesign CC that you'll see when workin...

