Batch insert running numbered PDFs as background into corresponding numbered PDFs

My objective: What I want to do is actually simple. I want to replace the pages in a PDF ("the original pdf") with pages from another PDF ("the new pdf") but retain the crop margins of the original pages. Both the new and original PDF has the same number of pages (about 600 pages). The crop margins differ from page to page.
I can't do so directly as replacing a page replaces the crop margins of the original page with the crop margins of the new page. Neither is there an option to export and import crop margins.
The workaround I am using is do insert the new page into the original page as a background (with the "scale relative to target page" option unchecked), and deleting the page (it has not been OCRed, so it is just an image) object, revealing the underlying inserted page. This works, but only for 1 page, because I can only select, in the insert background dialog box, one page out of the new PDF to insert as background into the original PDF.
What I want to do instead is to insert as background corresponding pages of the new PDF into the pages of the original PDF, i.e. p 1 to p1, p2 to p2.
To try to get around this, I extracted all the pages in the new and original PDF as separate files. My idea is to create an action that will batch insert, the single paged PDFs in one folder as background into the corresponding single paged PDFs in another folder, i.e. insert 1.pdf in Folder A as background for 1.pdf in Folder B, 2.pdf in Folder A as background for 2.pdf in Folder B and on.
This is where I am stuck. How can I define an action to do that? Or can this be done by script? I have no experience with scripts.
Help!
Many thanks,
Jay

Change the Save command to "Save to local folder" (by clicking the arrow icon next to it), and then select where you want to save the edited files.

Similar Messages

  • Can one large pdf be split into a packaged pdf?

    can one large pdf be split into a package without having to extract pages then merged back together?
    i have been scanning documents and some have been over 400 pages.
    i have been creating seperate pdf's for each appendix/section then merging them into a packaged pdf to find each appendix easier.
    but it is a bit time consuming to look at the 400+ pages then removing each appendix.
    so i was wonder if it is possible to just find where all the appendixes start and have them put into package without need to extract each appendix one at a time.

    Graffiti:
    Correct. Knew that about other formats not being able to be seen by all users.
    I tried exporting a PDF to HTML and then couldn't place it in an email without it loosing formating. I'm a long-time PM/ID (even before Adobe) user and am not familiar with Dreamweaver, which I guess I need to learn now. Thanks for the response.

  • How do I embed a pdf document into an existing pdf so that the user double clicks on the pdf object within the pdf and it opens? i've looked everywhere on various forums and tried attachments - but still not working. Thanks

    I've tried various methods but to no avail. I have a pdf document and within the pdf I'd like to embed a couple pdf documents so that all the user has to do is double click on the pdf object inside the pdf and it opens in a new window. I've tried using attachments to do it and linking it...but to no avail. Anyone know how to do? I'm using Acrobat Pro Version 11. Thanks

    The "embed" feature common to MS Office applications is not applicable to PDF (for the why and wherefore of PDF get comfortable and read the ISO Standard for PDF - ISO 32000-1:2008).
    You can insert other PDF files' pages into any given PDF.
    You can attach files of supported formats to a PDF (of course a PDF is supported).
    You cannot "embed". So, nothing is broken.
    Be well...

  • Insert PDF with Flash into another PDF and it does not display.

    When attempting to insert an Adobe Acrobat file with flash elements into another Adobe Acrobat file, the latter will not display the file on screen. Instead it shows this message "For the best experience, open this PDF portfolio in Acrobat X or Adobe Reader X, or later." Please help.

    Yes I would have thought so. Adobe Acrobat and Reader have the ability to view flash content items however this is not the case. I will explain step by step what I am doing. I have done this for years before and I have recently formatted my computer and had to reinstall the software.
    Here is a little background information:
    System:
    Windows 7 Professional 64bit
    AMD-FX 4100 Quad Core CPU
    8GB RAM
    250GB free on HDD
    Software Installed:
    Adobe Acrobat X Pro
    Adobe Reader XI
    Adobe Flash 17.0.0.134
    Microsoft Office Home and Business 2010
    Steps taken:
    Open Outlook
    Select a few messages
    Click on Convert to Adobe PDF
    Save the new file "toInsert.pdf"
    Open "main.pdf" file
    Click and drag "toInsert.pdf" file from desktop into the thumbnail area of the "main.pdf" file to insert.
    Attached Error. Please advise. Thank you.

  • Garbled text after inserting a converted MS Word Doc into PDF

    I am on a PC running XP professional using Word 2003 and Acrobat Pro v.8.
    I successfully converted a variety of MS Office (Word, Excel,PowerPoint) documents into Acrobat Pro v8 PDF files. I then took all of these individually converted PDF files and merged into one large PDF file.
    As stated, I verified that the documents converted successfully to individual PDF files, but when merging the files into one PDF file, some of the headers and/or text in the body contains garbled/scrambled text.
    This is a massive project and I am pushing 300 pages. Does anyone have any suggestions to solve this problem. I have tried converting them through Word and Acrobat Pro with no luck.
    Thank you,
    Chad

    After much tinkering around, I have finally solved the issue of the garbled text upon insertion of a converted file into a PDF file:
    1. In Word, click on the Adobe PDF tab
    2. click "change conversion settings"
    3. click on Settings tab (may be default tab)
    4. put a check in the box that says "PDF/A-1a; 2005 compliant file"
    5. click ok
    6. convert to PDF file
    7. inserted converted PDF file into another PDF
    I confirmed that my file now converts properly and there is no garbled text!
    I do not know what "PDF/A-1a; 2005 compliant file" is, but it worked!

  • How can i get the failed row numbers in batch insertion?

    Afeter execution of batch insert operation into a table, i use OCIAttrGet() to get the error number of insertion, as expected, it returns the correct number. however, when i use OCIParamGet() to get an error handle and then to get the exact failed row numbers , OCIParamGet() returns -2 , means "INVALID_HANDLE". can anyboy tell me why ? how can i get the exact failed rows?
    the snapshot of my code :
    int errNum = 0;
    int nRet = 0;
    nRet = OCIAttrGet((dvoid *)m_pIIOdbc->m_pStmtAll,OCI_HTYPE_STMT,&errNum,
              0,OCI_ATTR_NUM_DML_ERRORS, m_pIIOdbc->m_pErrHandle);
    if (errNum)
         OCIError* pErrHndl;
         int* pRow_off = new int[errNum];
         for (int i = 0; i < errNum; i++)
         nRet = OCIParamGet(m_pIIOdbc->m_pErrHandle,
    OCI_HTYPE_ERROR, m_pIIOdbc->m_pErrHandle, &pErrHndl, i + 1);
         nRet = OCIAttrGet (pErrHndl, OCI_HTYPE_ERROR, &pRow_off, 0,
         OCI_ATTR_DML_ROW_OFFSET, m_pIIOdbc->m_pErrHandle);
              delete []pRow_off;

    now the code is :
    OCIEnv      *m_pEnvHandle;                    
    OCIError      *m_pErrHandle;                         
    OCIError     *m_pErrHandle2;                    
    OCIServer *m_pSrvHandle;                         
    OCISvcCtx *m_pSvcHandle;                         
    OCIStmt *m_pStmtExec;
    OCIStmt *m_pStmtAll;
    OCIError** m_pErrorHndl;     
    int* m_pRowOff; //the array that will contain the failed row numbers
    int     m_nArrayLength; //length of array in once batch operation
    int m_nErrNum; //error number
    int m_nSucCount; //successful record number
    //initialization
    //m_nArrayLength is a parameter passed in, so i can not tell the exact length of the array, dynamic space allocation is needed
    m_pErrorHndl = new OCIError*[m_nArrayLength];
    m_pRowOff = new int[m_nArrayLength];
    //execution
    OCIStmtExecute(
              m_pSvcHandle,
              m_pStmtAll,
              m_pErrHandle,
              (ub4)m_nArrayLength,
              (ub4)0, (OCISnapshot *)NULL, (OCISnapshot *)NULL,
              OCI_BATCH_ERRORS
    //get successful records number
    m_nSucCount = 0;
    OCIAttrGet((dvoid *)m_pStmtAll,OCI_HTYPE_STMT,&m_nSucCount,
              0,OCI_ATTR_ROW_COUNT, m_pErrHandle);
    //get error numbers
    m_nErrNum = 0;
    OCIAttrGet((dvoid *)m_pStmtAll,OCI_HTYPE_STMT,&m_nErrNum,
              0,OCI_ATTR_NUM_DML_ERRORS, m_pErrHandle2);
    //get failed row numbers into the array
    if (m_nErrNum)
              //get failed row numbers into the array
              for (int i = 0; i < m_nErrNum; i++)
                   //initiallize error handles               OCIHandleAlloc((dvoid*)m_pEnvHandle, (dvoid**)&m_pErrorHndl,
                        OCI_HTYPE_ERROR, (size_t)0, (dvoid**)0);
                   OCIParamGet(m_pErrHandle, OCI_HTYPE_ERROR, m_pErrHandle2, (void**)&m_pErrorHndl[i], i);
                   OCIAttrGet (m_pErrorHndl[i], OCI_HTYPE_ERROR, &m_pRowOff[i], 0,
                                            OCI_ATTR_DML_ROW_OFFSET, m_pErrHandle2);
    now, if batch insert is executed, eg, there are 10 records to be inserted, thus m_nArrayLength is set to be 10. There are 5 records of the 10 have exist in database, so some of insert operations will fail. After execution, m_nErrNum is 5, and i can get the failed row numbers.Everything seems go well.
    However, if batch updata is excuted, eg, 10 records to be updated, m_nArrayLength is set to be 10, and also there are 5 records of the 10 have exist in database. After execution, the OCIStmtExecute() returns 1, m_nErrNum got by
    OCIAttrGet((dvoid *)m_pStmtAll,OCI_HTYPE_STMT,&m_nErrNum,
              0,OCI_ATTR_NUM_DML_ERRORS, m_pErrHandle2)
    is 0, and m_nSucNum is 5. Why?? how can I get the rows that fail? i have to know which rows do not exist in database??

  • Insert Word document with chart/table into fillable PDF?

    My customer is using a PDF fillable form I created, which has a single text box to use for letters, etc. She has a Word document that contains a table/chart that she wants to insert into the fillable PDF, but when she brings it into the PDF the table/chart disappears.  How can she get that part of her Word document to insert properly?

    Hi,
    just to let you know I have sorted this.
    http://macintoshhowto.com/leopard/how-to-merge-pdf-files-with-preview-in-leopard .html
    Thanks.

  • How do I insert pages from one PDF into the current PDF in Acrobat X?

    I just upgraded from Acrobat 8 to Acrobat X.
    How do I insert pages from one PDF into the current PDF in Acrobat X pro?  I was able to do this from the Edit menu in Acrobat 8 pro.  Appreciate instructions.  Thanks.

    Hi chemadberk,
    In my Acrobat 8 Pro, Insert Pages is under the Document menu but anyway...
    In Acrobat X, click on the Tools pane(upper right side) then navigate to Pages- the Insert Pages commands are located there.
    Hope this helps,
    Dimitri
    [signature deleted by host]

  • After saving a pdf as Excel workbook the numbers remain text and cannot be used in calculations. Is there a better way to convert into real digital numbers?

    After saving a pdf as Excel workbook the numbers remain text and cannot be used in calculations. Is there a better way to convert into real digital numbers?
    I have tried to convert the pdf to Word instead but same difficulty with numbers: look like numbers but not usable for calculations

    Excel has a 'text to numbers' function, I would use that.
    Convert text to numbers. Microsoft Excel.

  • When I drag pdf files into iBooks Author, the background in the pdf file changes into the colour of my book (brown/beige)?

    Hi,
    when I drag a pdf file (when working in Preview) into iBooks Author, the background colour in the pdf file changes into the background colour of the book.
    This happens not consistently, sometimes the background of the pdf file does not change (and stays white), sometimes it's like the text in the pdf file is 'lifted' of the file, and put on the page in iBooks Author (with a brown/beige background).
    All the pdf files are scanned pdf's, nothing comes out of Pages, Word, Excel,...
    Anybody?
    Thanks a lot!
    Wouter

    I have the same question (posted here: https://discussions.apple.com/message/25644741#25644741).
    I believe this is because the PDFs have transparent backgrounds. As far as I can tell, the only way to fix it is to export the PDF as another file, such as an image file. Or perhaps convert it to Word and import it that way.

  • Inserting pages into a single pdf

    Got a new computer w/ Vista (boo!). Now I am unable to insert additional pages into a basic pdf.
    Example:
    I scan 4 one-page documents onto my computer, which I want to merge into one.
    In the XP version of my Acrobat Reader, I could open "page 1" (or whatever you want to call it), then just scroll down to "insert" from the main menu & browse for the additional pages, as long as I had saved them as PDF's. Done.
    How do I do it now? I don't see "insert" anywhere. Thanks, Rick

    The free Reader has never been capable of inserting or deleting pages; it does very little more than what its name implies: read PDF files. If you could previously insert pages in PDF files, you must have had some version of Acrobat.

  • I want to insert .pdf files into a "Master" .pdf file at pre-determined intervals - how do I do this?

    I want to insert .pdf files into a "Master" .pdf file at pre-determined intervals - how do I do this?

    Hi markm11762689,
    When you insert pages, you can determine whether they go before or after the first or last page, or a page number that you specify.
    If you're inserting multiple files at once, they will all be inserted in the same spot that you specify in the Select File to Insert dialog box.
    There may be a way to handle this programmatically, and there are some very clever folks who visit these forums regularly. Let's see if they chime in...
    Best,
    Sara

  • Running program in the background

    Hi everybody!
    I need to run  program in the background.
    So I need only to change the sy-batch status to 'X'?

    HI,
    if your program is runninn in the Background then the System field SY-BATCH will become 'X' otherwise it will have space ......
    it will not execute the job in the background if you put SY-BATCH = 'X'
    you need to use: Job_open , Job_submit and job_close function modules
    example:
    *Submit report as job(i.e. in background) 
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.
    Thanks
    Sudheer

  • How to run a job in background programatically after 10 sec

    Hi Forum,
    Can anyone tell me How to run a job in background programatically after 10 sec..
    Thanks in advance

    Hi,
    Here is the example code
    *Submit report as job(i.e. in background) 
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    * Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum    " You need to give the Date for execution the Job
                sdlstrttm        = sy-uzeit    " You need to give the Time for execution the Job
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    * Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    * Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.
    Regards
    Sudheer

  • Need to extract PDF form answers into an XML file

    Hi Adobe gurus,we have a requirement like this. We have a Time Tracking and Project Monitoring System whose DB is a Oracle 10g R2. We want to automate our ''Meeting Minute'' processing.
    1. The project lead will write minutes into a form PDF. i.e. a PDF where people can type in information into fields and also tick check-boxes etc.  
    2. The PDF will be e-mailed to the project manager.
    3. Project manager will save the PDF in a HDD directory.
    4. Then he will run a program.
    5. Program will pickup all the PDFs in that directory one-by-one.
    6. For each PDF, the program should read the fields and get the values for the form fields and create an .XML file for it.
    7. Now, another program will read the XML files, extract the information and store those in a DB against each project lead.
    I went through the thread PDF to XML conversion, but unfortunately it has no complete solution. This problem is present for lots of people and I would be really grateful if Adobe experts can give a complete solution. In order to make it easy to answer, I have made a small questionnaire below:
    (A.) When creating a PDF form. i.e. a PDF where you can type information to questions and tick checkboxes etc., can you create the PDF with structure. i.e. for example, the field into which a user types project name should be identifiable (as a tag or something like like PROJECT_NAME), when we create an XML out of it later? Is this called creating a tagged PDF?
    (B.) Does this mean that we cannot convert an untagged PDF to XML?
    (C.) In order to convert a PDF to XML do we need a XSD or DTD? I ask this because, I some converters from the web, like this one, asks for the XSD. And this tool which converts a PDF to XML, asks for a rules set before converting the PDF. So is this necessary?? i.e. Do we have to have our own XSD and rules set, or does the PDF->XML utility convert to XML based on predefined ADOBE PDF tags??
    (D.) Do we HAVE TO use the Adobe LiveCycle ES DLLS to do this??? I ask this becuase most of the free PDF-2-XML convertes give wrong results and has no guarantee.
    (E). Can you please elaborate the process of converting PDFs to XML. Please note that we are doing this using a program (i.e. we process a batch of PDFs).
    (F.) If we use ADOBE DLLS then do we have to purchase the Adobe LiveCycle ES product??
    (G.) If we purchase Adobe LC ES then can we use the DLLs in Java, .Net??? Or is it possible to call the Adobe DLLs only using C or C++ (I read about this on the .Net)?
    (H.) Is Adobe LiveCycle ES a separate product from the Adobe SDK and Adobe PDF writer??
    Your advice would be greatly appreicated.
    Thanks in advance.
    Ravi de Silva.

    Thanks, however, I just want the user to be able to hit the Submit by E-mail button, and e-mail the form to the Manager.  I believe, that this is what this button should be able to do, except that it converts the file to .XML format.
    Still looking for help.  thanks

Maybe you are looking for