Professional Web Applications Themes
  1. #1

    Default Change starting page number

    Hello--I am working on a large doent that must be broken into pieces for multiple users to work on.

    I need to number the pages of these sections as if they were one complete doent so they may be printed in sections and assembled.

    i.e.-- Section 1 should be pages 1-100
    Section 2 should be pages 101-200
    Etc.

    So what I need is a way to change the starting page number in the footer/header. I am able to change the numbering in the "Page" tab on the left side but the page numbers do not match that sequence. Is there a way for me to do this?

    Adobe Acrobat 6.0, Windows 2000, Pentium 4 w/512mb
    Thanks in advance!
    Jon_Dowe@adobeforums.com Guest

  2. #2

    Default Re: Change starting page number

    I am having the same issue and am interested in any response.

    Thanks,
    -Darron Birchmeier
    Darron_M_Birchmeier@adobeforums.com Guest

  3. #3

    Default Re: Change starting page number

    Ditto - I'm looking for the same answer. Any one find anything out yet?

    Sandee
    [email]sandee@sandeeland.com[/email]
    Sandee_Weiner@adobeforums.com Guest

  4. #4

    Default Re: Change starting page number

    I am in the same boat here. I hope someone can help us soon.....

    [email]cliff.dodge@itt.com[/email]
    cliffdodge@adobeforums.com Guest

  5. #5

    Default Re: Change starting page number

    Here is java script which will work in 6, though it would be nice to have the program do it. I used this in version 5 and it works very well.

    To use the code, open the file to add the page numbers to.
    -Select Advanced, Java Script, Doent Java Scripts.
    -Type in a name for the script and click Add.
    -Select code in the next screen and replace with following code:

    var pageRect = getPageBox("Media");
    var width = pageRect[2] - pageRect[0];
    var height = pageRect[1] - pageRect[3];

    var Item = app.popUpMenu("Number Position", "-", ["Select", "Upper Left", "Upper Middle", "Upper Right", "Lower Left", "Lower Middle", "Lower Right"]);

    switch (Item) {
    case "Upper Left":
    var upperX = pageRect[0];
    var upperY = pageRect[1];
    var lowerX = pageRect[0]+100;
    var lowerY = pageRect[1]-50;
    break;

    case "Upper Middle":
    var upperX = pageRect[0]+(width/2)-50;
    var upperY = pageRect[1];
    var lowerX = pageRect[0]+(width/2)+50;
    var lowerY = pageRect[1]-50;
    break;

    case "Upper Right":
    var upperX = pageRect[2]-100;
    var upperY = pageRect[1];
    var lowerX = pageRect[2];
    var lowerY = pageRect[1]-50;
    break;

    case "Lower Left":
    var upperX = pageRect[0];
    var upperY = pageRect[3];
    var lowerX = pageRect[0]+100;
    var lowerY = pageRect[3]+50;
    break;

    case "Lower Middle":
    var upperX = pageRect[0]+(width/2)-50;
    var upperY = pageRect[3];
    var lowerX = pageRect[0]+(width/2)+50;
    var lowerY = pageRect[3]+50;
    break;

    case "Lower Right":
    var upperX = pageRect[2]-100;
    var upperY = pageRect[3];
    var lowerX = pageRect[2];
    var lowerY = pageRect[3]+50;
    break;
    }

    for (i=0;i<numPages;i++){ delay =true; var f =addField(i,"text",i,[upperX,upperY,lowerX,lowerY]) ; f.value = i+1; f.alignment ="center"; f.textFont = font.Helv; f.textSize = 10; f.textColor = color.black; f.readonly = true; delay = false; };

    - To change numbering, find the code at the bottom (8th line from the bottom) that says "f.value= i+1;" and change the number 1 to whichever number you want to start with. Hit OK. Hit Close.
    - You will see a pop up window, select where to place the page number (upper middle, lower right, etc)
    That's it. You now have page numbers in you file and they start with the value you want.

    Hope this helps and hope they add this feature soon.
    cliffdodge@adobeforums.com Guest

  6. #6

    Default Re: Change starting page number

    Ditto. We need to resolve this ASAP.... please someone???
    Donna_Valdes@adobeforums.com Guest

  7. #7

    Default Re: Change starting page number

    I couldn't follow the script above as there is no option to add java script to my doent... any other suggestions?
    Donna_Valdes@adobeforums.com Guest

  8. #8

    Default Re: Change starting page number



    there is no option to add java script to my doent




    Are you using Reader?
    W_T_Allen@adobeforums.com Guest

  9. #9

    Default Re: Change starting page number

    No. Acrobat 6.0 Standard
    Donna_Valdes@adobeforums.com Guest

  10. #10

    Default Re: Change starting page number

    What happens when you try to add or run it?

    I don't have 6 infront of me, but I was pretty sure Standard had JS editing capabilities. What happens when you hit Ctrl-J?
    W_T_Allen@adobeforums.com Guest

  11. #11

    Default Re: Change starting page number

    I can't add it. Acrobat 6.0 only let's me hit Advanced then JavaScript then Set Doent Actions. Ctrl-J doesn't do anything, and the actions are only for doent closing or opening or saving...... I think it may be a 6.0 issue, but I often have to number only a few pages, and need to have the renumbered pages syncronize with the footer capabilities...

    Any help is greatly appreciated!
    Donna_Valdes@adobeforums.com Guest

  12. #12

    Default Re: Change starting page number

    I am using acrobat 6 pro. Not sure if there is a difference when using java - the java I posted was used in 5.

    When I have a doent opened, I hit Advanced, Java Script
    Then I hit Doent Java Scripts. At this point, there is a blank white box (one line high) and a larger blank white box below it. In the top box, I type Renumber Pages. Then hit ADD. At this point, I go to a page where I can add the java script. I paste the code and then hit OK. From this point, the script is loaded and ready to go.

    Are there any discrepancies between what I see and what you see?
    cliffdodge@adobeforums.com Guest

  13. #13

    Default Re: Change starting page number

    I guess it is the difference between pro and standard. I don't have the option of adding any java. Only setting the doent settings. I don't have Doent Java Scrips only choice is Set Doent Actions.

    I guess I'll have to look for a plug in somewhere... Thanks for trying!
    Donna_Valdes@adobeforums.com Guest

  14. #14

    Default Re: Change starting page number

    Quote Originally Posted by cliffdodge@adobeforums.com View Post
    here is java script which will work in 6, though it would be nice to have the program do it. I used this in version 5 and it works very well.

    To use the code, open the file to add the page numbers to.
    -select advanced, java script, doent java scripts.
    -type in a name for the script and click add.
    -select code in the next screen and replace with following code:

    Var pagerect = getpagebox("media");
    var width = pagerect[2] - pagerect[0];
    var height = pagerect[1] - pagerect[3];

    var item = app.popupmenu("number position", "-", ["select", "upper left", "upper middle", "upper right", "lower left", "lower middle", "lower right"]);

    switch (item) {
    case "upper left":
    Var upperx = pagerect[0];
    var uppery = pagerect[1];
    var lowerx = pagerect[0]+100;
    var lowery = pagerect[1]-50;
    break;

    case "upper middle":
    Var upperx = pagerect[0]+(width/2)-50;
    var uppery = pagerect[1];
    var lowerx = pagerect[0]+(width/2)+50;
    var lowery = pagerect[1]-50;
    break;

    case "upper right":
    Var upperx = pagerect[2]-100;
    var uppery = pagerect[1];
    var lowerx = pagerect[2];
    var lowery = pagerect[1]-50;
    break;

    case "lower left":
    Var upperx = pagerect[0];
    var uppery = pagerect[3];
    var lowerx = pagerect[0]+100;
    var lowery = pagerect[3]+50;
    break;

    case "lower middle":
    Var upperx = pagerect[0]+(width/2)-50;
    var uppery = pagerect[3];
    var lowerx = pagerect[0]+(width/2)+50;
    var lowery = pagerect[3]+50;
    break;

    case "lower right":
    Var upperx = pagerect[2]-100;
    var uppery = pagerect[3];
    var lowerx = pagerect[2];
    var lowery = pagerect[3]+50;
    break;
    }

    for (i=0;i<numpages;i++){ delay =true; var f =addfield(i,"text",i,[upperx,uppery,lowerx,lowery]) ; f.value = i+1; f.alignment ="center"; f.textfont = font.helv; f.textsize = 10; f.textcolor = color.black; f.readonly = true; delay = false; };

    - to change numbering, find the code at the bottom (8th line from the bottom) that says "f.value= i+1;" and change the number 1 to whichever number you want to start with. Hit ok. Hit close.
    - you will see a pop up window, select where to place the page number (upper middle, lower right, etc)
    that's it. You now have page numbers in you file and they start with the value you want.

    Hope this helps and hope they add this feature soon.


    this works great, but only in pro
    Unregistered Guest

Similar Threads

  1. Need some hints before starting to change a page
    By Corobori in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: March 4th, 02:59 AM
  2. Increment row number starting at 1
    By Targa in forum ASP Database
    Replies: 1
    Last Post: June 2nd, 05:31 AM
  3. Page #s in Footer - change the start number? How?
    By Sandee_Weiner@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 6
    Last Post: April 29th, 04:03 PM
  4. Replies: 0
    Last Post: September 22nd, 12:30 PM
  5. #25626 [NEW]: Variables containing number starting with 0 (Zero) become 0 (Zero)
    By sameh dot attia at tedata dot net in forum PHP Development
    Replies: 0
    Last Post: September 22nd, 10:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139