How to script one page at a time

Using Acrobat pro 9 I want to automate the following:
185 page doc
print page 1 to 1.pdf into a specific folder
print page 2 to 2.pdf into the same folder
print page 3 to 3.pdf into the same folder
etc.
until I have 185 seperate pdf's in one folder
i want to do this without having to hit control P for every page - i just want it to go through and print each page seperately

Would extracting a page do just as well, or is there a specific reason you want to print it? To extract a page, you can use the doc.extractPages method to extract a page and save it. There's even some sample code in the Acrobat JavaScript reference.
George

Similar Messages

  • HOW TO SHOW ONE PAGE AT A TIME

    Does anybody have a clue how to show one page at a time? I clicked Facing Pages in the Inspector and 2 columns of pages showed up. Now, I can't get it back to just one page showing up at a time. There must be a fix, but I don't' want to spend days on this. Many thanks.

    Frank,
    At the bottom left of the page, click on the zoom percentage, then select One-up from the menu.
    -Dennis

  • JS: How to make a script to print one page at a time and set print job name?

    What I want is to print one page at a time to the printer.
    Document.print(false, app.printerPresets.item(0)) almost get me there. But how do I get it to print page by page? There seems to be no way to set which page to print to printerPreset.
    Also, is it possible to change print job name from the default of using document name?

    >Is there any solution to this other than saving the document to a different name before each page print?
    Here is an altered and abriged version of the script that I use. I use print preset called "PS to PDF" in it, so you should change it to your own.
    if(app.documents.length == 0){
       alert("Please open a document and try again.");
       exit();
    var myFolder = Folder ("~/Desktop");
    var myDoc = app.activeDocument;
    var myNoExtention = getFileNameOnly (myDoc.name);
    var myPrintPrefs = myDoc.printPreferences;
    if (app.printerPresets.item("PS to PDF") == null) {
       alert("Preset \"PS to PDF\" has not been installed");
       exit();
    else {
       myPrintPrefs.activePrinterPreset = app.printerPresets.item("PS to PDF"); 
    myDoc.sections.everyItem().sectionPrefix = "";
    myDoc.sections.everyItem().includeSectionPrefix = false;
       var stop = myDoc.pages.length;
       var w = new Window ( 'window', 'Printing PS-files' );
       var pb = w.add ('progressbar', [12, 12, 300, 24], 0, stop);
       var txt = w.add('statictext');
       txt.bounds = [0, 0, 200, 20];
       txt.alignment = "left";
       w.show()
    for(var myCounter = 0; myCounter < myDoc.pages.length; myCounter++){
       curPage = myCounter + 1;
       pb.value = curPage;
       var myText = String("Page " + curPage + " of " + myDoc.pages.length);
       txt.text = myText;       
       var myPageName = myDoc.pages.item(myCounter).name;
       var cornumber = pagenum(myPageName);
       var myFilePath = myFolder + "/" + myNoExtention + "_" + cornumber + ".ps";
       var myFile = new File(myFilePath);
       myPrintPrefs.pageRange = myPageName;
       myPrintPrefs.printFile = myFile;
       myDoc.print(false);
    w.hide();
    alert("Done!");
    function pagenum(myNumber){
       if (myNumber >= 1 && myNumber <= 9)
       x =  "0" + "0" + myNumber;
       else if (myNumber >= 10 && myNumber <= 99)
       x = "0" + myNumber;
       else if (myNumber >= 100 && myNumber <= 999)
       x = myNumber;
    return x
    function getFileNameOnly (myFileName) {
       var myString = "";
       var myResult = myFileName.lastIndexOf(".");
       if (myResult == -1) {
          myString = myFileName;
       else {
          myString = myFileName.substr(0, myResult);
       return myString;
    Kasyan

  • How to read ibooks on landscape orientation one page at a time on iPhone 6 Plus

    How can I force iPhone 6 Plus to show me only one page at the time on landscape orientation on iBooks. Right now it show me one page at the time if it is in portrait orientation but as soon as I turn the phone to landscape orientation it splits and shows me two pages ie page 1 and page 2.

    I've looked everywhere I can think of to change the way that iBooks handles this and cannot find an option to change it. If you choose scrolling view then it will not show two columns but then you scroll to read rather than turning "pages."

  • How do i change the display in ADE to a single page view instead of two pages side by side? I find it distracting and prefer to look at one page at a time.

    How do i change the display in ADE to a single page view instead of two pages side by side? I find it distracting and prefer to look at one page at a time.

    You can increase the font size and automatically page view changes. Go to menubar; Reading -> PDF View or Epub Text Size (depending upon the ebook) and increase the size.

  • I have an HP Photosmart C4180 all in one printer scanner and copier, I can't figure out how to scan more than one page at a time and then send as a PDF file via email

    I have an HP Photosmart C4180 all-in-one, printer, scanner and copier.  I can't figure out how to scan more than one page?  It will only let me do one page at a time and then I have difficulty sending pages 1, 2 and 3 as one docuement.  Any ideas??
    Thank you, Jetteski

    Hello Jetteski,
    Hello Jetteski, Thanks for the post.
    Since you are running a MAC, check the below links for some excellent information on scanning.  Good Luck!
    http://goo.gl/M8Cl2
    http://goo.gl/cufK6
    http://goo.gl/OTQoR
    I work for HP but my posts and replies are my own....Thank you!

  • How do I print one page at a time for a photobook .pse project?

    I am trying to print a photobook project one page at a time as I am using double sided paper that I need to turn over.  One other project I did asked me if I wanted both sides and would I do the turning myself, but this one doesn't.  I also wanted no border on the prints and it came out with a border.  It is also frustrating to have to wait for it to load 75 pages and then it prints them back to front.  Is this PSE or the printer software?

    Yes, you can print one page one at time as you want .
    In print dialog, select other pages and click on remove button.(refer to screenshot).
    For border click on more options and ensure check box is not selected ( refer to screenshot)

  • The back/forward buttons on the tool bar only go one page at a time. I used to be able to click a drop-down and select how far back/forward I wanted to go. How can I get that back

    I can only navigate back/forward one page at a time. The drop down box that used to allow me to see the recent pages and select the page I wanted to go to was immediately to the right of the "forward" button. I can right click over the forward/back buttons and get the dropdown list of recent sites.

    Use right-click on the back/forward buttons to bring up the context menu, the drop down was never needed, and I had suppressed it for a long time to save space.
    that is item #5 in the following, you might want to check out other items there.
    You can make '''Firefox 6.0.1''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface
    There is a lot more beyond those first 10 steps listed, if you want to make Firefox more functional.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • How do I make preview show only one page at a time in full screen

    When I show a document using full screen (or slideshow) in Preview, it shows two pages at a time.  I just want to show one at a time, but can't find anything that lets me specify this.  There is no relevant Preference that I can see, and if I check single page in view and then choose full screen or slideshow in view, the first page is displayed fine, but then subsequent pages are displayed two up.

    Hi, Eric,
    Thanks.  It looks like I didn't quite make my question clear enough, though.
    I want to show a multi-page document one page at a time.  If I open it and choose "full screen" in view, I get the first page showing just fine.  But if I then use the arrow to go to the second page, Preview shows two pages (#2 and 3), and then continues to show the rest of the document two pages at a time when I advance using the arrow. 
    I want to show one page at a time, and be able to advance to the next page using the arrow.
    Can I do this in Preview?
    Thanks,
    Russ

  • How do you rotate one page at a time?

    When I choose Rotate View - Clockwise, it rotates the whole document. I want to rotate one page at a time.
    Thanks
    Ray
    Adobe Reader for Mac, 8.12

    Can't do that with Reader.

  • I am trying to print all the PDF pages in a range of 5 pages but can only print one page at a time . . . It will print the current page, but not all or pages 1-5.  Can this be overcome?

    I am trying to print all the PDF pages in a range of 5 pages but can only print one page at a time . . . It will print the current page only, but not all or pages 1-5.  I need to go to the next subsequent page and command to print current page; continuing with this procedure until all pages are printed one at a time. Can this be overcome?

    You can use printPages(1, 5), however I need to know how you print current page.

  • Clearing history one page at a time

    HELP! Unlike Explorer, I can't find a way to remove just one site (page) from history at a time. It just has a clear option that wipes everything out. Does anyone know if it is possible to clear one page at a time?

    Hi
    Welcome to Apple Discussions
    To clear one or more entries at a time, open your Bookmarks Manager (Apple/Option/B keys pressed at the same time). On the left side of the Manager, click on History in the collections column. On the right, individual entries appear. Highlight the one you want to delete, then press the "delete" key. If you want multiple non-consecutive entries cleared, click on the specific ones while holding down the Apple key. Again, press the "delete" key to remove. Consecutive entries - click on the first item, then holding down the shift key, click on the last item. Everything in-between is highlighted. Again..."delete".
    In OS X Tiger, the Spotlight panel in the Bookmarks Manager is a great aid. You would simply type in the name and any matching entries appear in the list. There are other feature incentives for upgrading to Tiger, including Safari 2, or perhaps even Leopard after its October debut.
    I see your tag says 10.3.5. The latest version of OS X Panther is 10.3.9, which would also give you a more recent version of Safari - 1.3.2. To do so, go to Software Update in System Preferences and see what's available. If you upgrade to .9, do not use the computer during the installation. Afterwards, go to your Applications>Utility folder, open Disk Utility and "repair permissions" on your HD via the First AiD panel.
    Lastly, how much RAM or memory do you have in your iBook? To check, go to the Apple Menu>About this Mac.
    Post back

  • Question: Viewing one page at a time

    How do I change from viewing a spread as two pages to just viewing one page at a time?

    If the doc is set up with spreads then turning spreads off may change the structure of a document. Or, at least, it did back in CS4 when I turned spreads off to look at a document in single-page layout because I was working on a laptop. When I turned spreads back on, lots of features (like anchored objects or text wraps set up to align to spine or "outside edge" for example) were broken.
    I never researched any further - I simply got in the habit of exporting PDFs and viewing those in single-page mode, instead of trying to affect layout in InDesign. Maybe this isn't broken anymore, or perhaps there's a non-destructive method of getting a single-page view. Or, more importantly, maybe the document you're looking at doesn't have any of these spread-dependent features. Or maybe you dont need it to keep the spreads features. Anyway, be aware that you might lose something if you untick that box.

  • Printing trouble one page at a time

    I can only get one page at a time to print from a lengthy document.  I have Windows 7 Home Premium and my printer is  HP laserjet 1200 series.  thank you

    What version of Reader? What happens if you ask it to only print two pages rather than the whole document? How much free space do you have on your hard drive? How much RAM?

  • Creating iphoto book and can't seem to view/ work on only one page at a time.

    I am creating an iPhoto book and can't seem to view/work on only one page at a time.  The Navigator, that allows you to focus on a part of the page is actually 1 1/2 pages in size so 1 1/2 pages are in view when trying to work on one page.  What am I doing wrong or how can I fix this.  It is very distracting viewing half of a previous page when trying to create a new page and write a story to go with the related pictures.

    My Navigator seems to be to large.  It covers 1 1/2 pages while in the training information it shows as the size of one page.  Is there a way to adjust the size of the Navigator?
    You can hover the mouse over the left border of the Navigator - then the cursor will turn into a resize cursor and you can drag the border and make the Navigator panel smaller by enlarging the source list.
    Or drag the lower right corner of the iPhoto window and shrink the appliaction window. This will only make the navigator smaller - the source list and information panel will stay the same size.
    Regards
    Léonie

Maybe you are looking for

  • Problem in Delivery and Returns

    Hi All,        Customer which have the card type =c that are only visible in delivary and returns(choose customers ) , but what about if we create sales order, and quotation based on the card type =L or s, these are not appearing in delivary and retu

  • Losing wireless every few minutes

    My macbook pro is losing its internet connection every few minutes (wireless on at&t 2wire router). I have to stop and restart airport to regain connection. Other macs on the same router work fine. On this one, istumbler will not launch. It worked on

  • Tracking OSHA Bloodborne Pathogen data in SAP

    I am looking for a way to track OSHA Bloodborne Pathogen information in SAP. The ability to track the dates of shots (Hep B series) and annual training by position. Also, tracking the date if shot series was declined by the employee. I understand tha

  • How to extend an AM definition provided OOTB in a product

    Hi, I have a requirement to extend functionality of an OOTB application module, which is delivered as a part of a product. What is a safe way to replace this AM definition, with an extended version (say, adding a few methods to the AMImpl class) so t

  • Dreamweaver CS4 - Site pages disappearing

    I have been using Dreamweaver CS4 since it first came out and I've created and maintain over 75 sites on the same hosting service, I also have created and maintain many sites on other hosting services. I just started having a very strange problem. Th