3 Replies Latest reply on Jun 13, 2008 4:49 AM by (soldstatic)

    Print pages 1 - 6

      Does anyone have a script that will allow you to print a set number of pages. I want pages 1 thru 6 in multiple documents. I have 53 documents.

      Adobe gives you a batch print for page one or all.

      I am not a scripting master, so a whole script would be nice.
        • 1. Re: Print pages 1 - 6
          gkaiseril MVP & Adobe Community Professional
          Have you looked at the "Print 1st Page" batch process?

          The script for that command is:

          /* Print 1st Page */
          /* This sequence prints the first page of
          each document selected to the default printer.
          */
          this.print
          ({
          bUI: false,
          nStart: 0,
          bSilent: true
          });

          So you can ceate a new batch process and copy the 1st page script and then add the "nEnd" parameter:

          /* Print Pages 1-5 */
          /* This sequence prints the first six pages of
          each document selected to the default printer.
          */
          this.print
          ({
          bUI: false,
          nStart: 0,
          nEnd: 5,
          bSilent: true
          });
          • 2. Re: Print pages 1 - 6
            Level 1
            Geo,

            This works! Many, many, thank you's

            My job just got a whole lot easier! 53 manuals today will be a breeze.

            Again, thank you.

            Bill Bernhardt
            Doosan Infracore Publications
            • 3. Re: Print pages 1 - 6
              is there a way to pull off the nStart from the filename??? My file is named "9 4 2 ee-235" for instance, and I want to print only pages 9, 4, and 2.