Can you print only pages with a specific master page designation?

I'm laying out a fairly large technical book using InDesign CS4 and need to print proofs of pages that use a specific custom master page. Rather than scrolling through the Page window and writing down page numbers that use that specific master, i'd like to have a quick way of doing it. If anyone knows of a way to do this by either script or other means, I'd really appreciate the help. Thanks!
NOTE: Originally posted in general discussion and recommended to scripting forum.

Straight to the point, methinks. Extensive commenting was free, today.
// Gather Master Spread names
masterlist = app.activeDocument.masterSpreads.everyItem().name;
// Create a simple yet effective dialog
masterDialog = app.dialogs.add ({name:"Select Your Master",canCancel:true});
with (masterDialog)
          with (dialogColumns.add())
                    with (dialogRows.add())
                              listbox1 = dropdowns.add ({stringList:masterlist, selectedIndex:0});
// Get input
if (masterDialog.show())
          selectedName = masterlist[listbox1.selectedIndex];
          // Build Print string
          pages = [];
          for (i=0; i<app.activeDocument.pages.length; i++)
                    // What if there is NO master page applied?
                    //          .. then it's NULL and doesn't have a name, that's what
                    if (app.activeDocument.pages[i].appliedMaster != null &&
                              app.activeDocument.pages[i].appliedMaster.name == selectedName)
                              pages.push (app.activeDocument.pages[i].name);
          // Make a printable string of it
          printpages = pages.join(",");
          // Feed it to your current Print settings
          app.activeDocument.printPreferences.pageRange = printpages;
          // Show the Print dialog
          app.activeDocument.print (true);

Similar Messages

  • I can not print only a selected part of a page

    I have reset the print.print_printer and still can't print only the selected part of a page. I highlight what I want to print and use control P to get to the printer setup. Then I click the selection button and then OK. The preview screen shows what would print but the page has blank space above what was selected. This has only started to happen since the upgrade to FF 11.0. I have tried the same operation using IE and it works fine. please, is there a fix for this??

    Hi jweigh,
    This is a known bug. You should take a look at this thread:
    https://support.mozilla.org/en-US/questions/923294
    See the last post by Cww.
    Hopefully this helps!

  • Can you print from DOS with Photosmart Premium C410 a ?

    Installed printer but cant print from DOS.Can this printer be used to print from DOS Works fine printing from Windows XP
    Thanks

    First, AirPrint is not something you buy. It's built into iOS.
    Second, John asked if you could print from an iPad with a cable:
    Can you print from an I pad with a cable?
    Third, in your reply to me, you said "you can" which would imply that one can print from an iPad via a cable, which again cannot be done.

  • How can I print a text with my comments in Pages 5.0?

    I have made comments on a text in Pages 5.0.  How can I now print the file and have my comments included in the hardcopy?

    I have found a round-about solution to my own problem:  with the file open, click file, export the file back into an earlier version of Pages, save the new file and then print it, but there has to be a better solution from within the new version of Pages.

  • Can you print to PDF with Adobe Digital Editions?

    I have Adobe Acrobat Professional 8.0 on a PC I use at school. I am able to print documents to Adobe PDF and create them into a PDF by choosing Adobe PDF instead of a printer.
    I have purchased an eBook that opens in Adobe Digital Editions. The book allows unlimited printing.
    Is it possible to print parts of the book to PDF and create a PDF instead of printing the pages out onto paper?
    Thank you.

    No, this is expressly disallowed. If you think about it, that would allow you to circumvent the DRM protection and the publishers therefore forbid this.

  • Can you print pictures taken with iSight?

    This question isn't for me, it is for a coworker who also has a powerbook. She wants to print a pic taken with iSight. Is this possible and if so, where does she go to find the file?
    thanks, Michelle

     Hello Michelle. Your friend can print a picture taken with iSight if she can print anything else. All she must do is open the snapshot file with any compatible application and print from there. Mac OS X's "Preview" will print her snapshots made with applications authored by Apple (and many others).where does she go to find the file?That will depend on which Software Application she used with her iSight to make her snapshot.
    For instance, if she uses iChat AV, (she must have the "Video Preview" window open to make a snapshot) her first snapshot file will be named "Video Snapshot 1" and will appear on her Mac's desktop.
    (If she uses an older version of Mac OS X, she may need to click once on the desktop to make the Video Snapshot file appear.)
    Jim

  • How can I print a file with mixed page orientation in windows 8.1?

    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc

    ส่งจาก จดหมายของ Windows
    จาก: Pat Willener
    ส่งเมื่อ: จ. 5 มกราคม 2558 6:15
    ถึง: thang dinhvan
    How can I print a file with mixed page orientation in windows 8.1?
    reply from Pat Willener in Adobe Reader Touch for Windows 8 - View the full discussion 
    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7064031#7064031 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7064031#7064031
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Reader Touch for Windows 8 by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • How can i print only pages which have been highlighted, from a multi page file?

    How can i print only pages which have been highlighted, in a multi page file.

    Ah, I see want you mean. This might not be practical for you, but if you select one instance of the highlighted text and add a [space] to the little sticky note, all of the highlighted text on that page will appear in the summary.

  • Can you print more than one photo on a sngle page in iPhoto, as you can in Picasa?

    iPhoto printing--
    Can you print more than one photo on a single page in iPhoto, as you can in Picasa? Terrible waste of paper and time to do it one at a time!  I 've been away from Macs for several years ( I know, shame on me) but I thought I remembered more printing flexibility.  Help, anyone?

    Yes - select the photos and print - select the print size and paper size (be sure they will fit with some small borders) and click customize - in settings select multiple photos per page (the preview will reflect this selection) and print
    LN

  • How can I print only Selected pages from a Multipage document?

    HP Envy 114 e-All-in One Printer
    How can I print only pages 2 and 4 from a 10 page document using my Envy 114 Printer?
    This question was solved.
    View Solution.

    Hi,
    Where do you print from ? Under Word or PDF you can select page(s) you want to print.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • HT4059 Can you print pages from iBooks?

    I have not yet purchased an iBook textbook, and I do better with math if my homework problems are printed. Can you print pages from your iBook?

    From Books: Frequently Asked Questions (FAQ)
    Can I print my books and PDFs from iBooks?
    Yes, you can print PDFs and notes you've entered from iBooks, but the option to print ePub books is not available.2You can also email PDFs and notes you have written from iBooks."

  • Can you print from an iPad 2 using 3G in a home with no computer or wifi by using an iPhone 5 hot spot connection if the printer has been set up in another place with live wifi? I know this question is loaded but my dad lives in a rural area

    Can you print from an iPad 2 using 3G in a home with no other computer or wifi by using an iPhone 5 hot spot connection if the printer has been set up in another place with live wifi? I know this question is loaded but my dad lives in a rural area and is wanting a printer to use occasionally. He doesn't want to deal with a computer and I keep his iPad updated for him at my home.  Please shed some light on this for us PLEASE. Thanks

    In that case, it should be possible. I haven't tried this directly, but I believe it should work.
    You'll need to get an actual AirPrint compatible Printer.
    Check here for a list of Printers you can choose from.
    http://support.apple.com/kb/ht4356
    Once you have the compatible printer, using the Hotspot feature from the iPhone he'll have to create the Wifi bubble form the iPhone, and connect the Printer to that Wifi network.
    Then connect the iPad to that same Wifi network provided by the iPhone. When all that is done, the printer should appear in any of the Apps that can Print under the Action Arrow button.
    For instance in email, pressing the action arrow should show a Print option. In there the printer should appear.
    Alternatively you can simply buy a wireless router and setup the network through there even if there is no internet attached.  Connect the wireless printer to the router network, and connect the iPad or iPhone to that same wifi network to print.

  • Hi, I would like to synchronize the calendar's items of my iPad Mini with my MacBook Pro. At today I can only do the reverse operation (from MacBook Pro to iPad Mini). Can you help me maybe with a little tutorial or something? Many Thanks.

    Hi, I would like to synchronize the calendar's items of my iPad Mini with my MacBook Pro. At today I can only do the reverse operation (from MacBook Pro to iPad Mini). Can you help me maybe with a little tutorial or something? Many Thanks.

    Hello there Tonynos.
    The following Knowledge Base article should help with guiding you on how to synchronize information from your iOS device to your computer:
    iOS: How to transfer or sync content to your computer
    http://support.apple.com/kb/HT1296
    Thanks for reaching Apple Support Communities.
    Cheers,
    Pedro D.

  • Can you print document save in pages under iCloud

    Can you print documents save in pages under iCloud

    The easiest solution may be to Duplicate the file in iCloud by highlighting it / Right Click / Duplicate
    Drag the Duplicate to the Desktop and Print

  • Can you print four months to a page in iCal?

    Can you print four months to a page in iCal?

    Yes.
    From any application you can print multiple pages on a single page. In the Print Dialog click on Copies & Pages to open up the drop down menu, then select Layout.
    iCal defaults to one month per page, so select the 4 pages to a page Layout to get what you want.
    Does that answer your question?
    G3 DT/SonnetEncoreZIFG4/1GHz/768MB/WingsAV/DVR-106D/psc750xi/graphire4-6x8   Mac OS X (10.4.8)   TempoUltraATA66/120GB Maxtor/120GB Seagate;TangoUSB/FW;ATI9200/204B/172N

Maybe you are looking for

  • Installing old application to OS Windows 7 64-bit

    I have OS Windows 7 64-bit on computer and I am trying to download software from Amervets that is a Military Database.  The webmaster from that site stated: The War Library military-access software works on ALL versions of Windows from Win 1.0 to the

  • Nokia 5800 GPS Question

    I'm planning on traveling from the USA to Europe and want to know if the GPS will work in Europe if I don't have phone service or a pay as you go SIM card. Thanks. Solved! Go to Solution.

  • Multiple Channels with Firewire Input

    I posted this in the podcasting forum, and it occurred to me I might have better luck getting a response here. Apologies if you've seen this one before! I quote: I have a feeling this is a stupid question, but I'd hate to go without asking, so... I'm

  • Links Bar in Firefox?

    I just started using Firefox. In Internet Explorer I had a links bar on top of the page with 5 sites I used a lot for my work. How can I get this in Firefox. (This is different from the bookmarks - I have 100 of those).

  • Can't get any video playback in program or source monitor after updating premiere

    I'm having a problem I hope someone might be able to shed some light on. I just updated my premiere pro cc to v8.2 Everything Worked fine before I updated.  Now I can't get any video to play back. I can hear the audio in my timeline but the video doe