Merge pdf page

Hi everyone !
I would like to merge pdf documents : I have a client who wants to send a PDF to several people. Each person puts his annotations (like comments) into the document.
Then, I get all pdf (always the same, with several comments) and merge it in one PDF with all comments.
I thought I was able to do it with a simple DDX file, but I can't find a way to do it !
How can I do it ?
Thank's for your help !
FYI, the configuration is : LiveCycle ES + Reader Extensions (I don't think that's help).
(I hope I post in the right place to ask this.)

I find a way to do this, but I still have a problem : some comments which are near the same position in 2 or more PDF are not displayed nor assembled. To be exact, only one of them are kept in the output file.
Have you any idea how to solve this ?
Thanks for your help !
FYI, this is how i assemble them :
<Comments result="allComments.xfdf" format="XFDF">
     <PDF source="doc2" />
     <PDF source="doc3" />
</Comments>
<PDF result="output.pdf" save="FastWebView">
     <PDF source="doc1" />
     <Comments source="allComments.xfdf" />
</PDF>

Similar Messages

  • Merging PDF / Page Numbers / Acrobat SDK V9  & LiveCycle

    Hello everyone,
    I use Adobe LiveCycle to create forms, Visual Studio 2005 and the Acrobat SDK for the application I'm programming to fill in these forms. The application fills in the forms and merges them with no issues.
    The problem I have is that these pages have page numbers in the upper right. I use the Page N of M object on these forms in LiveCycle. PDF page numbers are filled in correctly when filling in the forms, but when I merge PDFs, the pages keep their original page numbers. I've looked at the Windows - Interapplication Communications even using templates to no avail.
    How can I merge these pdf's and have my program renumber these pages correctly and how can insert pages anywhere I want in the merge document?
    Below is the code I use to merge the PDF's. It was posted in a forum.
    Sub MergePDF(ByVal ThePath As String, ByVal outFileName As String)
    On Error GoTo serror
    Dim dPDDocMerge As New Acrobat.AcroPDDoc
    Dim dPDDoc As New Acrobat.AcroPDDoc
    Dim strFiles() As String
    Dim numPage As Integer
    Dim TotalPage As Integer
    Dim objThisFile As IO.FileInfo 'get FileInfo object for file string
    strFiles = System.IO.Directory.GetFiles(ThePath) ' Read in the file names
    Dim b As Boolean ' mostly for testing purposes... could use it for error 'checking to make sure that a file is really added before deleleting it...
    For i As Integer = 0 To strFiles.Length - 1 ' run through all the files in 'the directory
    objThisFile = New IO.FileInfo(strFiles(i)) ' Get the extension
    If objThisFile.Extension = ".pdf" Then ' Only add in PDFs
    If dPDDocMerge.GetFileName = "" Then ' check if it's the first file
    dPDDocMerge = New Acrobat.AcroPDDoc
    b = dPDDocMerge.Open(strFiles(i)) ' open first file
    TotalPage = dPDDocMerge.GetNumPages
    Else
    dPDDoc = New Acrobat.AcroPDDoc
    b = dPDDoc.Open(strFiles(i)) ' open other files
    numPage = dPDDocMerge.GetNumPages ' get the page count
    TotalPage += numPage
    b = dPDDocMerge.InsertPages(numPage - 1, dPDDoc, 0, dPDDoc.GetNumPages, _ False) ' Insert
    End If
    End If
    Next
    'b = dPDDocMerge.Save(1, ThePath & "\" & outFileName) ' save file
    b = dPDDocMerge.Save(1, ThePath & "\" & "\MyTest.PDF") ' save file
    b = dPDDocMerge.Close()
    Exit Sub
    serror:
    MsgBox(ErrorToString)
    End Sub
    Thanks for any code or advice.

    You can't merge LiveCycle forms this way :(. LC forms are NOT standard PDF files and can't be processed in the same way.

  • Standardise page sizes in merged PDF?

    Hi everyone,
    I'm trying to merge together a PowerPoint '07 and an Excel '07 file, both set to A4 lanscape page layouts, in Acrobat 9 Standard.  However, in the final merged PDF, the old Excel pages are huge compared to the PowerPoint slides - about 6 times larger.
    Any ideas how I can force Adobe output a merged PDF all in the same page size and orientation?
    Thanks in advance,
    Simon

    Acrobat's combine feature to merge files into one PDF does not provide a page size "editor".
    Likely a cleaner work flow if the input files had page size adjusted by their native application.
    Once done, use combine to merge into the single PDF.
    You may find this is (over all) easier than using the Crop Tool resize features.
    To view any PDF's page size when open in Adobe Reader/Acrobat go into Preferences.
    Select the Page Display catagory then tick the "Always show document page size" choice.
    Be well

  • How to merge two pages of a PDF into one

    How do I merge two pages (within the same PDF file) into one page?  For example, I have a scanned 3x5 card; the front of the card is on page one and the back of the card is on page two.  How do I merge them so the front and back of the card is on the same page?  Thanks!

    Phillip,
    It works well because InDesign is highly reliable for placing PDF files (you can even choose which layer):
    And it uses the common PDF Export presets for the Creative Suite. I've used it very reliably to place ads saved as PDF, and including them in a program guide, then exporting the entire project as one PDF file.

  • Which product do I purchase???? - Creating a merged PDF report from excel with cover page

    Hi Guys,
    I work in the BI field and have created a pdf document using PDFCreator and another third part scripting tool called jpdfbookmarks.
    We have delivered something to the client but the quality of the output ( not the best) and the time it takes to cycle through each page ( when being viewed) within the merged
    pdf document takes a little time...
    So my boss as asked me to explore something within the Adobe suite of products BUT.... i have no idea which one i should choose.
    My requirements are as follows:
    To deliever this report to the client the program needs to be able to do the following:
    1)  convert excel files to pdf
    2) take these individually created converted excel to pdf converted files and and merge them into 1 document
    3) within this merged document have the abilty to be able to bookmark each page
    4) have a cover page with hyperlinks
    5) and finally but most important of all to be able perform steps 1 to 4 above programatically through scripting language vb script / vba
    nice to haves:
    6) abilty to email each merged doc to list of email address
    7) abilty to edit document to add in hyperlinks etc
    Need to get an understanding of costs ie
    1) how much per licence
    2) what product with have all the features above and how much
    Can anyone please be kind enough to point me in the right direction as to what product would be best suited?? Being able
    to scipt a solution together is key.
    Cheers
    Shockwave

    You can do everything except the cover page with Adobe Acrobat (Standard or Pro).  There are demos on our website that you can install and try out.  You will need the SDK documentation and sample code to learn how to automate/program.

  • Auto delete duplicate pages in a merged pdf?

    Hi,
    I was wondering if anyone knew of a way to automatically have Adobe Professional search a pdf and delete/remove all of the duplicate pages?  I have merged a bunch of separate pdf files where some of the files have duplicate pages...thus instead of searching the entire pdf for the duplicate pages manually (+500 pages), I was hoping Adobe Professional could do this somehow automatically.
    Thanks,
    kmullen

    Attached a VBS example how to get the text of a PDF page.
    So you can loop trough the pages and delete if text1 = text2
    The documentation you will find in the Acrobat SDK.
    Section: IAC (InterApplication Comm..).
    If you need examples for single commands search in Google for that.
    The search function here is not very good.
    HTH, Reinhard
    GetText.vbs
    '// Save this as GetText.vbs and start with Double Click
    '// Acrobat with a Document must be OPEN
    set WshShell = CreateObject ("Wscript.Shell")
    WshShell.AppActivate("Adobe Acrobat")
    WScript.Sleep 500
    '// get the active Document
    Set AcroApp = CreateObject("AcroExch.App")
    Set AVDoc = AcroApp.GetActiveDoc
    Set PDDoc = AVDoc.GetPDDoc
    Set PdfPage = PDDoc.AcquirePage(0) '<<--SET in FILE! =Pagenumber
    Set PageHL = CreateObject("AcroExch.HiliteList")
    PageHLRes = PageHL.Add(0,9000) '<<--SET in FILE! (Start,END[9000=All])
    Set PageSel = PdfPage.CreatePageHilite(PageHL)
    for i = 0 to PageSel.Getnumtext - 1
      pdfData =PDFData & PageSel.GetText(i)
    Next
    msgBox PDFDATA

  • Merging more than one PDF page into a singe page.

    Hi All,
    Here is my new requirement.
    I need to merge two PDF page contents into a single PDF page.
    Is there any way to active this.
    Looking forward to your help.

    Hi PDL and Leo,
    I am attaching the code below. Kindly let me know what mistake I am doing.
    CosDoc cosDoc = PDDocGetCosDoc(objPDDoc);
    PDPage page1 = PDDocAcquirePage(objPDDoc, 0);
    CosObj pageCos1 = AFPDFormFromPage(cosDoc, page1);
    PDPage page2 = PDDocAcquirePage(objPDDoc, 1);
    CosObj pageCos2 = AFPDFormFromPage(cosDoc, page2);
    CosObj cBBoxObj = CosNewArray(cosDoc, false, 4L);
    CosArrayInsert(cBBoxObj, 0L, pageCos1);
    char* charMatrix = "q .5 0 0 1 .75 0 cm \r";
    char* charQ = "Q \r";
    ASInt32 iMatrixSize = strlen(charMatrix);
    ASInt32 iQSize = strlen(charQ);
    char * mBuffer = (char*)ASmalloc(iMatrixSize);
    char * qBuffer = (char*)ASmalloc(iQSize);
    memcpy(mBuffer, charMatrix, iMatrixSize);
    memcpy(qBuffer, charQ, iQSize);
    ASStm objMatrixStream = ASMemStmRdOpen(mBuffer, iMatrixSize);
    ASStm objQStream = ASMemStmRdOpen(qBuffer, iQSize);
    CosObj matrixContent = CosNewStream(cosDoc, true, objMatrixStream, 0, true, CosNewNull(), CosNewNull(), -1);
    CosObj qContent = CosNewStream(cosDoc, true, objQStream, 0, true, CosNewNull(), CosNewNull(), -1);
    ASStmClose(objMatrixStream);
    ASStmClose(objQStream);
    CosArrayInsert(cBBoxObj, 1L, matrixContent);
    CosArrayInsert(cBBoxObj, 2L, pageCos2);
    CosArrayInsert(cBBoxObj, 3L, qContent);
    CosObj pageCos = PDPageGetCosObj(page1);
    CosDictPut(pageCos, ASAtomFromString("Contents"), cBBoxObj);
    ASfree(mBuffer);
    ASfree(qBuffer);
    PDPageNotifyContentsDidChange(page1);
    PDDocSave(objPDDoc, PDSaveIncremental, NULL, NULL, NULL, NULL);
    PDPageRelease(page1);
    PDPageRelease(page2);

  • Merge Different Spools containing a Single PDF page into a Single PDF file.

    Greetings,
    I am developing a custom object where in i need to read PDF file from many different Spools(Range given on Input Screen), where each spool has a single PDF page in it. I need to combine all these PDF Pages into a single PDF file & either create a new Spool or save it on an Application Server.
    At present i have developed the code where in i am able to read the PDF files from different spools & convert them into Binary but i am not able to generate it back to PDF file.
    Kindly find my code for your reference.
    CODE:-
    START-OF-SELECTION.
      PERFORM f_get_spool_1000 .
      PERFORM g_conv_pdf_to_bin_2000 .
    *&      Form  F_GET_SPOOL_1000
          text
    FORM f_get_spool_1000 .
      SELECT * FROM tsp01
               INTO TABLE gt_tsp01
               WHERE rqident IN s_spool
               ORDER BY rqcretime DESCENDING.
      IF sy-subrc = 0.
        SORT gt_tsp01 BY rqident .
      ENDIF.
    ENDFORM.
    *&      Form  G_CONV_PDF_TO_OTF_2000
          text
    DATA: lv_filename_out   TYPE string,
                lv_len            TYPE i,
                lt_tab            TYPE tsfixml .
      DATA: lwa_print_parms    LIKE pri_params,
                  lv_valid(1)       TYPE c .
      DATA: lv_linsz LIKE sy-linsz VALUE 132, " Line size
                  lv_paart LIKE sy-paart VALUE 'X_65_132'.  " Paper Format
      DATA : lt_tsp01 TYPE STANDARD TABLE OF tsp01 ,
                   lwa_tsp01 TYPE tsp01 .
      CLEAR : gv_pdf, gwa_tsp01, gv_renderpagecount .
      LOOP AT gt_tsp01 INTO gwa_tsp01.
        CALL FUNCTION 'FPCOMP_CREATE_PDF_FROM_SPOOL'
          EXPORTING
            i_spoolid         = gwa_tsp01-rqident
            i_partnum         = 1
          IMPORTING
            e_pdf             = gv_pdf
            e_renderpagecount = gv_renderpagecount
            e_pdf_file        = gv_pdf_file
          EXCEPTIONS
            ads_error         = 1
            usage_error       = 2
            system_error      = 3
            internal_error    = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CLEAR lv_len .
        REFRESH gt_bin .
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            buffer        = gv_pdf
          IMPORTING
            output_length = lv_len
          TABLES
            binary_tab    = gt_bin.
        CLEAR gwa_bin .
        LOOP AT gt_bin INTO gwa_bin.
          APPEND gwa_bin TO gt_listout.
          CLEAR gwa_bin .
        ENDLOOP.
      ENDLOOP.
    Get FP reference
      DATA: lo_fp     TYPE REF TO if_fp VALUE IS INITIAL,
            lo_pdfobj TYPE REF TO if_fp_pdf_object VALUE IS INITIAL,
            lo_exc    TYPE REF TO cx_root,
            lv_xslt_message TYPE string .
      lo_fp = cl_fp=>get_reference( ).
    For handling exceptions
      DATA: lo_fpex TYPE REF TO cx_fp_runtime VALUE IS INITIAL.
      TRY.
          lo_pdfobj = lo_fp->create_pdf_object( connection = 'ADS' ).
      Set document
          lo_pdfobj->set_document(
            EXPORTING
              pdfdata = gt_listout ).
      Tell PDF object to extract data
          lo_pdfobj->set_extractdata( ).
      Execute the call to ADS
          lo_pdfobj->execute( ).
        CATCH cx_root INTO lo_exc.
          lv_xslt_message = lo_exc->get_text( ).
      ENDTRY.
    Your quick reply would be of great help.
    Regards.

    Thank Your for your concern, there are many replies & posts but all of them points only to Try what they have said. As being said that trying to convert PDF to binary & appending many PDF similarly would not let you generate a single PDF again.
    Your Kind guidance would be really appreciable.
    Regards.

  • Merge pdf form data to an ASP page via HTTP

    I am using Adobe LiveCycle.
    Using LiveCycle has anyone been able to collect data from a PDF form posted on their web page, submit via submit button, that data to an ASP page and use the ASP page to do record manipulation.
    I have successfully created a PDF page and collected the data with JavaScript and updated the database. I'm looking for an alternative solution.

    Hi Robert,
    I am trying to design form to interact with an ODBC.
    Do you have any working example that uses following methods?
    xfa.sourceSet.DataConnection1.addNew();
    xfa.sourceSet.DataConnection1.update();
    xfa.sourceSet.DataConnection1.delete();

  • How to download & how to merge pdfs into one pdf file?

    Hello everyone!
    I hope someone can help me, because I am SO frustrated right now! I want to create an electronic document of a 40-page thesis I wrote. I no
    longer have the original computer files, so I took digital photos of each page.
    Then I converted all the jpegs into pdf files.
    Now I want to merge these 40 jpegs into one pdf file.
    I read that this is possible with Adobe Acrobat 8 or 9. So, yesterday I downloaded the trial version of what I thought was Adobe Acrobat 9. Well,
    two whole hours later, all I could find on my computer was Adobe Reader 9, which would not allow me to merge any pdfs.
    So, today, I again reinstalled the Adobe Acrobat 9. Now, after waiting another two hours, there is NOTHING on my computer--no Adobe Reader, no Adobe Acrobat, no desktop icons, nothing in the "All Programs" list when I press the Start menu, etc.
    What happened? How could something that took so damned long to download be totally invisible on my computer now? I do see Arcsoft, but that is for photographs. Is it possible to merge pdfs together using Arcsoft?
    I have SO much other work to do, and I am so disgusted that I have lost two days on this project, just trying to merge pdfs together! Please, if
    you have any suggestions as to how to get Adobe Acrobat 9 as a trial version an/or how to merge pdfs, please answer this post!
    Thank you very much for your help.
    Courtney

    Hi. Yes, that is the link from which I downloaded Acrobat 9. I now have this file on my computer: AcroPro90_efg.exe
    Yes, I did install it, but one of the times it hanged at 99.96%. Do you know what that means?
    Thanks in advance.
    Courtney

  • How to merge blog pages into one?

    I used iWeb and created three sites within one Domain file; each of these sites has its own blog page.
    But I haven't touched it for quite some time and would like to pick it up again. I'm at a point where I would like to simplify things: only to have one site and one blog and...
    How do I, or is there a way to, merge these blog pages into one? Consolidating these posts and comments into one single blog page?
    Your advice would be very much appreciated. (At present I'm so torn between picking up using iWeb or just start with blogger.com; the ability to preserve these messages would be key to the decision.)
    Thank you.

    You can either use <PageOverlay> to overlay the Header PDF page onto the PDF with the Body, or you could turn the Header PDF page into a <Header> DDX element. It depends on the page size of the Header PDF.
    Please be aware that if you use <Header>, the default margins for positioning the header are 1/2 inch all around. You can set this to 0 or whatever you want using the <PageMargins> element.
    An example of using PageOverlay:
    <?xml version="1.0" encoding="UTF-8"?>
    <DDX xmlns="http://ns.adobe.com/DDX/1.0/" >
    <PDF result="result1">
    <PDF source="PDF2"/>
    <PageOverlay>
    <PDF source="PDF1"/>
    </PageOverlay>
    </PDF>
    <PDF result="result2">
    <PDF source="PDF3"/>
    <PageOverlay>
    <PDF source="PDF1"/>
    </PageOverlay>
    </PDF>
    </DDX>

  • How to merge PDF docs into one?

    How can I merge several individual PDF documents into one? Can I use preview for this?
    Thanks
    a

    If this is a repetitive task, use Automator.  Set up a workflow.  First use Files & Folders to Get Selected / Specified Finder Items.  Then use PDFs Combine PDF Pages (alternatively just drag selected files to the work area rather than use the Files & Folders step).  Display the results from this combinng operation, click on it to display it and verify, and then rename it as desired.  The operation New PDF from Images should do that last step, but it appears to not work. 

  • Unable to merge PDF files.

    I have been running Acrobat 5 for a number of years and until recently have been able to merge and/or pages to existing PDF files with no problems; however I now get the following error statement when I try to merge or add pages to an existing file.  "These documents contain subset fonts that have the same name and cannot be merged"
         Does anyone know exactly what that means?  And how do I over ride that error.  What I have to do now, is take my original file, convert it to JPG files, then transfer it to Word and convert back to PDF.  It works but is a lot of extra work.  Help!!

    Try67- Thanks- How do I embed full font subsets when creating files. The pdf files were created from Word and include captions for photos .
    On the conversion. I convert the existing pdf files (pages of photos) to jpg and then import them to Word so I can add the new Word photo pages to them and then convert them back to PDF files. I know that sounds weird, but it works.
    Previously I could just add the new pdf pages to existing pages, but not anymore. Fred

  • Merging PDF Files in Preview 5 in OS X v10.7 Lion

    I recently updated to the OSX v10.7 Lion operating system.  In the previous version I had, I was able to merge two or more PDF files in Preview just by dragging the thumbnail.  However, in the Lion version, it is not allowing to drag one PDF file into another.  It just opens them as different files in the same preview window.  I need to know if someone can help me figure out how to merge these files 'cause I can't send ten different PDF files to my client.  Thank you so much for any help you can provide.

    Use 'Automator (applications > automator.app).
    Choose 'Workflow'.
    Type 'get specified finder' in the little search box.
    From the list drag 'get specified finder files' into the the panel on the right. Click 'options' and check 'Show this action when the workflow runs'.
    Next type 'combine pdf' in the search box, and drag 'Combine pdf pages' into the panel on the right underneath the previous one.
    Save the workflow to your apps folder.
    Whenever you want to merge any pdfs, click on the workflow. Add the pdfs to the dialogue box, click 'Run' in the top left of Automator. To find the resulting merged pdf, click 'Results'.
    This is no doubt a clumsy way of doing it, but it works.

  • Merge pdf files in preview

    I must be missing something. I've read the instructions for merging pdf documents in Preview, but it's just not working. Wants me to "duplicate" a file or something. This seems very un-Mac-like. I get 2 documents open, drag the thumbnails from one into another, one at a time, and then try to "Save As". Can anyone tell me what I might be doing wrong? I'm using Lion.
    TIA!

    This is because of the new versioning.
    As I recall this is what I did.
    Start with a new, blank preview page and then drag the other pdfs onto the blank form.
    I am not sure how I created the new blank page. I may have created it with Adobe first.
    It seems that one cannot use Preview alone to open a new blank pdf.
    Now when you click Save you should be asked for a new name.
    Otherwise, I think that preview will overwrite one of the other pdf files with the new files.
    It's a bit confusing - I suggest experimenting with a few "scrap" pdf files first.
    I wish Apple would put back the old "Save as" function. It is so much clearer and intuitive than the current scheme where often one has to search for the location of the file once it goes away.

Maybe you are looking for