Help with pdf tasks

Hello,
I am trying to automate a couple of specific tasks with pdf files but I am having some trouble. At my job we are printing files to pdf but afterwards we must go back and edit the pdf files. Basically what we need to do is this (in order):
1) Rotate the first 'one to three' pages. The first page(s) need to be rotated counterclockwise but it can be 1-3 pages that need this. All we know is that they always appear first. These pages are very similiar in content so I was thinking about making the program search for a keyword common to those pages then rotate it if it finds that keyword. That way we can ensure that its only rotating the pages which need to be rotated.
2) The last 3 pages of the document need to be moved to the top. These documents vary in number of pages so I cant just tell the program to move certain pages numbers to the top. All we know is that its always the last 3 pages of any document that need to be moved to the top. Also, just for clarification is another way to reorder pages in Acrobat besides dragging them with the mouse?
Any input would be greatly appreciated.
Thanks
Fazal

Both of these could be implemented using JavaScript, perhaps using a batch sequence. #2 is easy, and #1 may or may not be possible/reliable based on the actual content of the document.
For #1, a script is able to loop through the words on a page to search for one or more words. If found, it can look at the position of the word on the page, and if it meets the position criteria, use the setPageRotations document method to rotate the page.
For #2, just use the movePage document method to move the last three pages.
If you need help with the code, consider posting in the Acrobat Scripting forum. Include more information for #1 if you do.

Similar Messages

  • HELP WITH PDF TO WORD DOC

    pLEASE HELP WITH CONVERTING A PDF REPORT TO A WORD DOC WHERE i CAN MAKE CHANGES AND PRINT A NEW REPORT.

    Hi Christine,
    It looks like you have a subscription to our ExportPDF service. Follow the steps in our Getting Started Guide to convert your PDF to Word: http://forums.adobe.com/docs/DOC-2412
    You should be able to edit your file in Word after the conversion.
    -David

  • Help with PDF Generation

    We are currently evaluating LiveCycle ES to potentially convert numerous Pro/E 3D drawings to PDF. Unfortunately, I am having a difficult time finding the proper resources to help achieve this. What we would like the process to do is:
    1) Take a Pro/E file, and apply a forms template
    2) Add an "Exploded View" animation for the 3D drawing (such as what can be generated by Adobe 3D Reviewer)
    3) Expose the "Bill of Material" to the template fields
    4) Save the generated PDF to a defined folder
    5) Perform these steps for a "watched folder" for when new drawings are submitted
    In LiveCycle Workbench, I have been able to read a Pro/E file and apply our template. But I cannot find information on how to achieve the other steps.
    Could somebody please point me to specific resources and/or samples that would help with this? Any help would be very appreciated.
    Thanks!

    Thanks for your reply.
    If I'm understanding you correctly, option 1 probably won't work for this situation, because we're working with existing ProE drawings -- hundreds, if not thousands, of them. So, they don't want to go back and add the exploded view. Unless you're saying that we could use javaScript to generate the exploded view and BOM from the ProE files?
    Do you know of an example (or other resource) that describes either of the options you outlined? Could you explain a little more?
    Thanks again!

  • Help with PDF Javascript calculation involving checkboxes

    Hello Everyone,
    I have a PDF Form, and need help with a calculation.
    For the sake of simplicity, Lets say I have 5 fields. FSA1 and FSA2 are checkboxes. TotalClaimed1 and TotalClaimed2 are text fields which allow only a numerical input.
    The last box, FSA_Total, should add the value from TotalClaimed1 if FSA1 is checked, and it should also add the value from TotalClaimed2 if FSA2 is checked.
    The code is malfunctioning, however. Something is causing it to add to the total every time the box is checked. Its almost like the checking off of the box is what causes the addition.
    It seems like the code is being read as "When the box is checked, add the value to the total", so each time the box gets checked, it adds to the total again.
    and it should be "IF the box is checked, add the value to the total" so if there is a value in the field, and the box is checked, that value is passed on to the total; and if the box is not checked, the value is ignored.
    Can anyone spot what might be causing this? Code is below.
    var claim1 = parseInt(this.getField('TotalClaimed1').value),
        claim2 = parseInt(this.getField('TotalClaimed2').value),
        fsabox = parseInt(this.getField('FSA_Total').value);
    if (this.getField('FSA1').value == 'Yes') {
        fsabox += claim1;
    if (this.getField('FSA2').value == 'Yes') {
        fsabox += claim2;
    event.value = fsabox;
    Thanks
    Thisguy1234

    This is a custom calculation script for FSA_Total, correct? The code is working correctly, it's just not what you want. Assuming this is a custom calculation script in the FSA_Total field, it should be something like:
    var sum = 0;
    var claim1 = parseInt(getField('TotalClaimed1').value, 10),
        claim2 = parseInt(getField('TotalClaimed2').value, 10),
    // Add field values if corresponding check boxes are selected
    if (getField('FSA1').value !== "Off") {
        sum += claim1;
    if (getField('FSA2').value !== "Off") {
        sum += claim2;
    // Set this field value
    event.value = sum;
    Why are you using parseInt, exactly?

  • Need help with PDF/X-1a

    I am beyond frustrated here so I hope someone can help me!!!! Ii have Adobe 8 Standard and I can't find the PDF/X-1a in my distiller. I need this particular preset to upload a book cover. The website won't accept any other format. The only thing I have in my distiller is PDF/A-1b.
    Does anyone know where I can get the correct distiller? Everyone I know with Adobe 8 has the PDF/X-1a in their options and they don't remember having to do anything special to get it.

    Assuming you have Acrobat installed, it would not hurt to verify compliance after the document is created. With the doc open (on my vesion 9) Advanced > Print Production > Preflight > PDF/X Compliance > Verify compliance with PDF/X-1a  hit analyze
    Note that a document must have a Title in the Title box under Document > Properties (ctrl+d) to pass X-1a and, for whatever reason, analyze and fix cannot add this.
    And I'm far from the resident expert here..

  • Help with Update task

    Hi friends,
    In the below am trying to update a custom table using a call function in update task. I dont see the table getting updated can someone take a look at it and let me knw what the problem is? I have the commit work statement and also marked the function module as an update one in the attribute. Please help me . Thanks in advance! kathy
    *&  Include           ZINBOUND_TEST
    Report: ZINBOUND_TEST.
    DATA: l_dest     TYPE REF TO if_bgrfc_destination_inbound,
          l_unit     TYPE REF TO if_trfc_unit_inbound,
          l_inb_dest TYPE bgrfc_main_i_dst,
          lv_matid TYPE /sapapo/matid,
          lv_matnr TYPE /sapapo/matnr,
          lv_maktx type /SAPAPO/MAKTX,
          lv_langu  TYPE LANGU.
    data: lt_product type  STANDARD TABLE OF ZUPDATE,
          ls_product type ZUPDATE.
    lv_matid = '123'.
    lv_langu = 'E'.
    lv_maktx = 'Materia1'.
    CALL FUNCTION 'Z_TEST' IN UPDATE TASK
      EXPORTING
        iv_matid = lv_matid
        iv_maktx = lv_maktx
        iv_langu = lv_langu .
    COMMIT WORK.
    select * from zupdate into corresponding fields OF TABLE lt_product.
    if sy-subrc <> 0.
      write 'no records added'.
    else.
      loop at lt_product into ls_product.
        write: / ls_product-MATID,
                 ls_product-MAKTX.
      endloop.
    endif.
    FUNCTION Z_TEST.
    *"*"Update Function Module:
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(IV_MATID) TYPE  /SAPAPO/MATID
    *"     VALUE(IV_MAKTX) TYPE  /SAPAPO/MAKTX
    *"     VALUE(IV_LANGU) TYPE  LANGU
    data: itab type standard table of zupdate,
    wa_itab type zupdate.
    wa_itab-matid = iv_matid.
    wa_itab-maktx = iv_maktx.
    wa_itab-langu = iv_langu.
    append wa_itab to itab.
    update zupdate from table itab .
    ENDFUNCTION.
    Edited by: ka reddy on Sep 24, 2009 4:14 PM
    Edited by: ka reddy on Sep 24, 2009 4:15 PM
    Edited by: ka reddy on Sep 24, 2009 4:16 PM
    Edited by: ka reddy on Sep 24, 2009 4:17 PM
    Edited by: ka reddy on Sep 24, 2009 4:21 PM

    Hey Naimesh thanks for the reply. yeah i read that document way before and i started taking a stab at implementing it.
    I started with update task to see how it behaves and then wanted to go with BGRFC tats when i had the update issue.
    Now that am done with update i want to implement BGRFC.
    I have modified the earlier prgm...Can you give me some ideas how to extend this? Thanks!
    *&  Include           ZBGRFC_INBOUND_TEST
    Report: ZBGRFC_INBOUND_TEST.
    DATA: l_dest     TYPE REF TO if_bgrfc_destination_inbound,
          l_unit     TYPE REF TO if_trfc_unit_inbound,
          l_inb_dest TYPE bgrfc_main_i_dst,
          lv_matid TYPE /sapapo/matid,
          lv_matnr TYPE /sapapo/matnr,
          lv_maktx type /SAPAPO/MAKTX,
          lv_matid1 TYPE /sapapo/matid,
          lv_matnr1 TYPE /sapapo/matnr,
          lv_maktx1 type /SAPAPO/MAKTX,
          lv_langu1  TYPE LANGU,
          lv_langu  TYPE LANGU.
    data: lt_product type  STANDARD TABLE OF ZUPDATE,
          ls_product type ZUPDATE.
    lv_matid = '125'.
    lv_langu = 'E'.
    lv_maktx = 'Materia3'.
    **--Get the inbound destination for BGRFC.
      IF l_inb_dest IS INITIAL.
          SELECT SINGLE * FROM bgrfc_main_i_dst INTO l_inb_dest.
        ENDIF.
        l_dest = cl_bgrfc_destination_inbound=>create( l_inb_dest-destination ).
        l_unit = l_dest->create_trfc_unit( ).
    CALL FUNCTION 'Z_TEST' IN BACKGROUND UNIT l_unit
      EXPORTING
        iv_matid = lv_matid
        iv_maktx = lv_maktx
        iv_langu = lv_langu .
    select * from zupdate into corresponding fields OF TABLE lt_product.
    if sy-subrc <> 0.
      write 'no records added'.
    else.
      loop at lt_product into ls_product.
        write: / ls_product-MATID,
                 ls_product-MAKTX.
      endloop.
    endif.
    Edited by: ka reddy on Sep 24, 2009 5:16 PM

  • Help with maintenance task

    Hi All,
    Anyone can also help with this issue?
    Maintenance task question
    Thanks

    user9542267 wrote:
    Sorry, i didn't mean to do that.
    I am trying to get help in this issue for two days.
    Please delete this thread.
    how can i create a new thread base on an existing one?
    ThanksYou don't "create a new thread base on an existing one".
    You stick with the original.
    If no one is answering the original question, what makes you think they will answer the same question in a new thread?
    You need to understand that this forum is just a bunch of users like yourself. No one is paid to monitor or answer anything. We all have our own jobs that our employers are paying us for, and this forum ain't it.
    You also need to understand the audience here is global. No matter when you post, it is the middle of the night for half the planet. The person who has the information you seek may very well have just gone to bed as you were posting.

  • Need some help with a task, constructors.

    Hi there, I've got this task here, and I was wondering if someone could help me out. I wan't to know if my code is answering my task.
    The task:
    BlueJ casino in Las Vegas has given you this task to create a class where they can register their players. You should create a new project and a class called Player. The purpose with this task is that player information could be captured to a secure object and that it couldn't be changed arbitrary.
    The class Player should therefore contain the private fields 'firstname', 'lastname' and 'credits'.
    The official methods that player should define, does the following:
    - setFirstname: Sets the first name to the player
    - getFirstname: Returns the first name to the player
    - setLastname: Sets the last name to the player
    - getLastname: Returns the last name to the player
    - addCredits: Adds the player's credits to a given amount
    - getCredits: Returns the player's credits.
    - validPlayer: Checks if the player credits is higher greater zero, with an if sentence. If it is greater, it should return 'true', otherwise, it should return 'false'.
    - print: Prints the player information to the terminal window (with System.out.println).
    The class Player should also have a constructor that gets two arguments/current parameters to initialize the Player object:
    - A text string that represents the player's first name.
    - A text string that represents the player's last name.
    - The constructor should also set the player's credits to 100.
    My code so far:
    public class Player {
        private String firstname;
        private String lastname;
        private int credits;
        public Player(String firstname, String lastname, int credits) {
           this.firstname = "";
           this.lastname = "";
           this.credits = 100;
        public void setFirstname(String name) {
            firstname = name;
        public String getFirstname() {
            return firstname;
        public void setLastname(String name) {
            lastname = name;
        public String getLastname() {
            return lastname;
        public void addCredits(int amount) {
            credits = credits + amount;
        public int getCredits() {
            return credits;
        public boolean validPlayer() {
            if(getCredits() > 0){
                return true;
            } else {
                return false;
        public void print() {
            System.out.println("PLAYER INFORMATION:");
            System.out.println("First name: " + getFirstname());
            System.out.println("Last name: " + getLastname());
            System.out.println("Credit: " + getCredits());
            System.out.println("-------------------");
    }Please give me some help here, and please show me some code! Thanks for any help!

    Thanks again.
    What about this?public class Player {
        private String firstname;
        private String lastname;
        private int credits;
        public Player(String firstname, String lastname) {
           this.firstname = firstname;
           this.lastname = lastname;
           this.credits = 100;
        public void setFirstname(String name) {
            firstname = name;
        public String getFirstname() {
            return firstname;
        public void setLastname(String name) {
            lastname = name;
        public String getLastname() {
            return lastname;
        public void addCredits(int amount) {
            credits = credits + amount;
        public int getCredits() {
            return credits;
        public boolean validPlayer() {
            if(getCredits() > 0){
                return true;
            } else {
                return false;
        public void print() {
            System.out.println("PLAYER INFORMATION:");
            System.out.println("First name: " + getFirstname());
            System.out.println("Last name: " + getLastname());
            System.out.println("Credit: " + getCredits());
            System.out.println("-------------------");
    }Edit: Oh, yeah - could I write the addCredits() like this?    public void addCredits(int amount) {
            amount+=credits;
        }Edited by: JKM123 on Feb 1, 2009 3:22 PM
    Edited by: JKM123 on Feb 1, 2009 3:24 PM

  • Urgent: im new and need help with this task!

    I need help with converting the pseudo code to java code, Any help will b greatly appreciated!
    // Declare a variable of type int, called "choice".
    // Generate a random number between 0 inclusive and 7
    // exclusive, and store that number into the variable
    // "choice". (How do you generate a random number? Use the
    // nextInt(int) method inside the random object, which takes
    // a single int parameter. You can read about this method
    // here:
    // http://java.sun.com/j2se/1.5.0/docs/api/java/util/Random.html
    // If "choice" is equal to 0, then create and return a new
    // IBlock object, passing "game" as the parameter to IBlock's
    // constructor.
    // Otherwise, if "choice" is equal to 1, then create and
    // return a new TBlock object, passing "game" as the
    // parameter.
    // Otherwise, if "choice" is equal to 2, then create and
    // return a new OBlock object, passing "game" as the
    // parameter.
    // Otherwise, .... etc ....
    // (please continue to do this for all of the 7 kinds of block
    // that can be created)

    import java.util.*;
    public class Echo{
         public static void main(String[] args)     {
              //System.out.println("enter ur choice");
    Random r=new Random();
    int choice=r.nextInt(6);
         switch(choice)
         case 0:
              IBlock object0=new IBlock("games");
              break;
         case 1:
              TBlock object1=new TBlock("games");
              break;
         case 2:
              OBlock object2=new OBlock("games");
              break;
         case 3:
              LBlock object3=new LBlock("games");
              break;
         case 4:
              JBlock object4=new JBlock("games");
              break;
         case 5:
              SBlock object5=new SBlock("games");
              break;
         case 6:
              ZBlock object6=new ZBlock("games");
              break;
    class TBlock
         TBlock(String s)
              System.out.print("TBlock called"+"\n value passed is "+s);
    class IBlock
         IBlock(String s)
              System.out.print("IBlock called"+"\n value passed is "+s);
    class JBlock
         JBlock(String s)
              System.out.print("JBlock called"+"\n value passed is "+s);
    class OBlock
         OBlock(String s)
              System.out.print("OBlock called"+"\n value passed is "+s);
    class LBlock
         LBlock(String s)
              System.out.print("LBlock called"+"\n value passed is "+s);
    class SBlock
         SBlock(String s)
              System.out.print("SBlock called"+"\n value passed is "+s);
    class ZBlock
         ZBlock(String s)
              System.out.print("ZBlock called"+"\n value passed is "+s);
    }

  • Help with PDF form responses

    Hey there!
    I have two issues with online form data collection and am completely stumped. It's a real struggle to find useful documentation for Acrobat forms!
    #1 - I have created a form uploaded it to Acrobat.com, and have been able to collect test form data. In the local responses portfolio, I'm able to use the 'Update' button to bring the latest form data into the portfolio. But I would like to have a colleague be responsible for monitoring the form data and we're running into problems. He's able to open the portfolio and has full access, however the 'Update' button is greyed out so he is unable to bring in new form data. We've already updated his 'Acrobat.com' username/password in Acrobat preferences to match mine, but still no luck. Any help?
    #2 - Some computers are having issues with electronic submission. My best guess is that this is to do with Acrobat versions, as the issues all seem to come from computers where the form is completed using Acrobat Reader 8. The form was created with Pro 9, and form submission works for both Pro 9 and also Reader 9. Is there something I can do here? (And yes I know that it's a free upgrade to 9, but 8 is still in the official build for our organisation and I don't really have time to wait for them to complete an upgrade!)
    Thanks in advance for any help you can give.
    Jarrod

    Hello Paul,
    Thank you for your reply.
    I use Ipower for my hosting.  I see they use sendmail and the path on the server is - /usr/sbin/sendmail.  Would this work?
    The way I would like this to work would be:
    1) I e-mail the PDF form to the client
    2) Client opens and fills in the form
    3) They hit submit and the form information eventually gets e-mailed to my business e-mail
    I chose to use the HTTP method instead of e-mail because the PDF form says it can not be saved and if the client uses an internet beased e-mail like Yahoo it gets kind of messy.
    But, does the HTTP delivery method make it more difficult since this is not embedded in a website?
    Sorry, I did not realise this would be as involved as it is.  Your help would be greatly appreciated.

  • Livecycle design 8 Help with PDF forms

    I am new to Livecycle 8. I have created a simple PDF form in Livecycle 8 which was orignally an excel form. I set it up with a submit button to submit by email to a designated person. The form is housed on an internal web site for viewers with adobe reader to open and fill out and then submit by email. The goal is for the designated receiver to receive the the same PDF form with the information filled out by the previous viewer. I was successful with the form being emailed to the designated person as long as the peson submitting the form was using adobe professional. If the viewer only has adobe reader, the form would not submit to the designated receiver. Please help? 

    Reader does not allow a local save of the form and data by default. To be able to add the attachment o an email message a local save must occur. You can Reader Extend your form to allow for this. Open th eform in Acrobat Pro. Under the Advanced menu choose the "Extend Features in Adobe Reader". Follow the wizard and save the result PDF as a different name ....I like to put RE in the name so I know it is Reader Extended. Try the new file.
    paul

  • Help with PDF Form Submission

    Hello,
    I am using Live Cycle for the first time.  I have designed a PDF form that my clients will fill out and then send back to me.
    I have a website and thought submitting the form via http would be best but am having a problem with knowing the correct URL an then the server authentication.
    When I try to submit now I get an authorization error.
    Here is the URL I used in LiveCycle - http://watchmymvp.com/profilesubmissions
    This is to a folder a created on the server.
    How do I set this up?
    Thanks

    Hello Paul,
    Thank you for your reply.
    I use Ipower for my hosting.  I see they use sendmail and the path on the server is - /usr/sbin/sendmail.  Would this work?
    The way I would like this to work would be:
    1) I e-mail the PDF form to the client
    2) Client opens and fills in the form
    3) They hit submit and the form information eventually gets e-mailed to my business e-mail
    I chose to use the HTTP method instead of e-mail because the PDF form says it can not be saved and if the client uses an internet beased e-mail like Yahoo it gets kind of messy.
    But, does the HTTP delivery method make it more difficult since this is not embedded in a website?
    Sorry, I did not realise this would be as involved as it is.  Your help would be greatly appreciated.

  • Help with PDF export

    Hi,
    I'm a beginner with InDesign, and I need help badly. I've gone through lots of threads with no solution yet.
    Earlier today I exported an InDesign file to PDF and parts of the document with black text went to gray. It's been that way since, even in the original InDesign document. I don't know if it's just a color thing. If I change the color to red it simply looks like a "light" red. When I'm  scrolling down the page it looks black, so long as I'm holding down and scrolling. Does anyone have a solution to getting my "light" font to be rich with color again. All of my black text is gray!
    Thanks in advance.

    No, I didn't make any changes. How do I find the opacity?
    Does the opacity not show when you scroll? It may very well be the opacity, because it looks the same even in PDF. But then it doesn't explain how some parts look like opacity has changed and then some parts look completely normal.
    EDITED TO ADD: THANK YOU SO MUCH. I FIXED IT.
    It took me hours. THANK YOU!!!!!!!!!

  • Help with pdf forms

    Hello all,
    I need help desperately! Ok. so, I created a for from an existing document (PDF) on a mac computer. I did a test to see what would happen from the receiving end. When I distribute the form, the client receives it and fills in the blanks with type. WHenever they type a multiple line of text, the text becomes jumbled. I am running out of time and need to get this form to my client asap. Has anyone ever experienced this? If so, whast did you do to fix the problem?
    Thanks

    You'll need to go back and set the properties for the fields in question to multi-line. Right click on the field and select properties.

  • Need help with pdf file

    I have the version Adobe Reader XI and I can't open up a pdf attachment.  I tried all the troubleshooting in the help menu but nothing is working.   I have to be able to open up pdf file every day. HELP

    Okay the pdf file has a little (save) at the bottom of the file and when you click on it, it says (save to my computer) When I click on this it does not give me an option of where to put the file it just blinks for a secondlike it saved it somewhere but when I go into my c drive and look I can't find it or when I go into adobe reader I can't find it so I tried right clicking on the save to my computer and got these messages
    open
    Open in tab
    open in new window
    save target as
    Now I have tried all of these and it does the same thing.  Just blinks for a second like it did something but again I can't find the file.  I really would like to just go back to opening the file in my email.  Do you think if I uninstalled Adobe reader X1 and reinstalled another adobe reader that might get me back to what I used to have?  This just happened yesterday and I have the same browser and haven't changed anything on my browser but I did update adobe reader so I was thinking it had something to do with Adobe reader X1.
    If you don't think this will work then go ahead and walk me through saving the pdf file but so far I have not been able to open or save it.

Maybe you are looking for

  • I need to send the output of report as a mial

    hi all, how can i send the output of an ALV GRID as a mail ... the visibilty of this GRID is good. and at the same time if i use the FM 'SO_DOCUMENT_SEND_API1' its being sent as an attachment,which i need to send jus a mail...not as an attachment. ki

  • N97 Transfered Photos Not Appearing

    I was hoping someone could help me please. I've transfered a load of music to my 97 with no problems. I've transfered a few pictures too to the same folder as the captured photos on the mass media of the phone but none of these are showing up in the

  • [トピック紹介] 電子メールでPDFファイルを送信するとエラーになる

    ●オリジナルトピック Submitting PDF files by e-mail * 上記トピックを参照する際には.別途ログインが必要です(ゲストとしてのログインも可能です) ●質問 Designer 7.0 で作成したフォームのボタンに.データを電子メールで送信するよう設定しました. 送信フォーマットはPDFです. しかし.Reader 7.0 でこのフォームを開いて送信ボタンをクリックすると 「この処理は許可されていません」というエラーがでます.なにかよい方法はないでしょうか. ●回答 R

  • Copy  Field-symbols

    How to create an internal table from an field-symbol internal table . Thanks & Regards Santhosh

  • Plz send a reply,its urgent

    i hv 4 columns in a DB: first_count,second_count,3rd_count and level. i hv to find the max between the three counts & depending on the count,the level is updated. If first_count is the max,the level is 1, if the 2nd_count is the max,level is updated