Merging pdf problem

Hi there,
I've used Adobe Acrobat XI to merge two pdfs which I am viewing side by side. The problem is the left hand pdf contains part of the right hand pdf and the right hand pdf contains part of the left hand pdf, so when they are joined there is repetition down the middle (sorry, I couldn't think of a better way to describe this). Basically I need to overlap the middle so that both pdfs join smoothly and become 1 readable document. Does anyone know how to solve this?
Thanks

You can build your own PDF merge utility using the PDF Merge and split libraries for .NET from from http://www.dotnet-reporting.com or http://www.winnovative-software.com .
You can use it to merge PDF files, html files, text files and images,
set the page orientation, compression level and page size.
All this can be accomplished with only a few lines of code:
PdfDocumentOptions pdfDocumentOptions = new PdfDocumentOptions();
pdfDocumentOptions.PdfCompressionLevel = PDFCompressionLevel.Normal;
pdfDocumentOptions.PdfPageSize = PdfPageSize.A4; pdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait;
PDFMerge pdfMerge = new PDFMerge(pdfDocumentOptions);
pdfMerge.AppendPDFFile(pdfFilePath);
pdfMerge.AppendImageFile(imageFilePath);
pdfMerge.AppendTextFile(textFilePath);
pdfMerge.AppendEmptyPage();
pdfMerge.AppendHTMLFile(htmlFilePath);
pdfMerge.SaveMergedPDFToFile(outFile);

Similar Messages

  • Problem in Merging PDF files

    Need to print batches of PDF.<br />The command copy *.PDF > LPT1: (redirected by NET USE) doesn't work.<br />On the printer I get an error message. All files are sent in one file.<br />.<br />I guess this is related to the PDF header which is not set correctly for the second PDF copied.<br />I mean, according to the PDF Reference guide, the proper syntax for a PDF file header is for the "%PDF-<version>" comment to be the first line of the PDF file. The recommended second line is a comment line with four binary characters to indicate the file contains binary information.<br />.<br />Acrobat requires only that the header appears somewhere within the first 1024 bytes of the file.<br />.<br />I guess the Rip is not able to convert PDF into PS before its interpretation as the second header exceeds 1024. Even the combined file has %%EOF before each PDF Header, this is probably not enough to merge them without problem.<br />.<br />Did you experience the same ?<br />Thanks for your comments.<br />Regards.<br />Franck

    You can build your own PDF merge utility using the PDF Merge and split libraries for .NET from from http://www.dotnet-reporting.com or http://www.winnovative-software.com .
    You can use it to merge PDF files, html files, text files and images,
    set the page orientation, compression level and page size.
    All this can be accomplished with only a few lines of code:
    PdfDocumentOptions pdfDocumentOptions = new PdfDocumentOptions();
    pdfDocumentOptions.PdfCompressionLevel = PDFCompressionLevel.Normal;
    pdfDocumentOptions.PdfPageSize = PdfPageSize.A4; pdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait;
    PDFMerge pdfMerge = new PDFMerge(pdfDocumentOptions);
    pdfMerge.AppendPDFFile(pdfFilePath);
    pdfMerge.AppendImageFile(imageFilePath);
    pdfMerge.AppendTextFile(textFilePath);
    pdfMerge.AppendEmptyPage();
    pdfMerge.AppendHTMLFile(htmlFilePath);
    pdfMerge.SaveMergedPDFToFile(outFile);

  • Problems merging PDF's with Preview

    Hi there,
    I'm on 10.8.5, with Preview Version 6.0.1 (765.6).  I have followed all of the steps to merge pdf's. In the title bar of the document it says there are two pages.  Then I save (there is no save as command) and it only saves one page.  Is there something I'm missing or is this a bug?
    Any help is appreciated!
    Thanks
    Shaynee

    "Try showing them as thumbnails, then Edit/Select All, and then Export as PDF.
    Tried this several times as well as every other export/save option. View as thumbnails in two separate documents and successfully see 1 document with 2 files listed in the left pane.
    And though the export displays a completed progress bar just before it disapears and the file is created where I pointed, there is still only the bottom page of the the two thumbnails in the newly created file.
    Running a Macbook Pro (see image below for details.)

  • 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.

  • 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>

  • OutOfMemoryError when merging PDF document

    Sir,
    We are facing problem while merging the PDF files (using iText 1.1)
    When the merged PDF reaches 60MB, we are getting java.lang.OutOfMemoryError exception.
    We increased the heap size using the below command
    Java -Xms32m -Xmx512m
    Still the problem is persisting.
    We are using JDK1.3 that runs on Win 2000 with has 1GB RAM, and virtual memory paging size set to 2000-5000
    Could you please help us to solve the above issue?
    Thanks
    Pravin Kumar .V.

    Increase your memory allocations or stop using up so much memory.
    Ted.

  • Getting NULLPointerException while merging pdf files using PDFDocMerger

    Hi,
    I am using BI Publisher 11.1.1.7 Version Jar Files to use PDFDocMerger Class in Jdeveloper and my requirement is,
    need to merge pdf files taking from the third party server.So, I am passing url as an input to PDFDocMerger(As per BIP documentation we can pass url as an input to PDFDocMerger using Object Class) but I am getting NULLPointerException.
    I am using below code:
    import java.io.File;
    import java.io.FileOutputStream;
    import oracle.xdo.common.pdf.util.PDFDocMerger;
    public class PDFMerger
    public PDFMerger() {
         public void pdfDocumentMerger() {
    try {
    System.out.println("Testing1");
                      Object[] f = new Object[2];
                f[0]= ("http://docs.mytxi.com/downloads/Invoices/OE/06082013/02599553.PDF");
                f[1]= ("http://docs.mytxi.com/downloads/Invoices/OE/06082013/02599553.PDF");
                FileOutputStream output;
                output = new FileOutputStream("c:\\docs\\OutputPDF.pdf");
         System.out.println("Testing3" + f[0]);
                PDFDocMerger pdfMerger;
                pdfMerger = new PDFDocMerger(f, output);
         System.out.println("Testing4");
          pdfMerger.process();
         System.out.println("Testing5");
    pdfMerger = null;
    output.close();
         }//try
          catch (Exception e)
          System.out.println(" Exception " + e.getMessage()) ;
          e.printStackTrace() ;
          System.out.println("End") ;
       public static void main(String[] argv) {
    PDFMerger xmlPublisher;
    xmlPublisher = new PDFMerger();
    xmlPublisher.pdfDocumentMerger();
    Error:
    Testing1
    Testing3http://docs.mytxi.com/downloads/Invoices/OE/06082013/02599553.PDF
    Testing4
    Jul 22, 2013 10:22:22 PM oracle.xdo.common.pdf.util.PDFDocMerger$PDFUtility <init>
    SEVERE: The first input to be merged has problem and caused stopping merging
    Jul 22, 2013 10:22:22 PM oracle.xdo.common.log.Logger log
    WARNING: java.lang.NullPointerException
    at oracle.xdo.template.pdf.util.PDFObjectDictionary.<init>(PDFObjectDictionary.java:36)
    at oracle.xdo.common.pdf.util.PDFDocMerger$PDFUtility.checkIfDupFields(PDFDocMerger.java:2438)
    at oracle.xdo.common.pdf.util.PDFDocMerger$PDFUtility.processWithNoOut(PDFDocMerger.java:2932)
    at oracle.xdo.common.pdf.util.PDFDocMerger.generateMergedPDF(PDFDocMerger.java:623)
    at oracle.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:551)
    at oracle.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:506)
    at xxtxi.oracle.apps.ar.iex.server.PDFMerger.pdfDocumentMerger(PDFMerger.java:24)
    at xxtxi.oracle.apps.ar.iex.server.PDFMerger.main(PDFMerger.java:40)
    Exception java.lang.Exception: Document #2 looks corrupted.
    oracle.xdo.XDOException: java.lang.Exception: Document #2 looks corrupted.
    at oracle.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:510)
    at xxtxi.oracle.apps.ar.iex.server.PDFMerger.pdfDocumentMerger(PDFMerger.java:24)
    at xxtxi.oracle.apps.ar.iex.server.PDFMerger.main(PDFMerger.java:40)
    End
    Process exited with exit code 0.
    It would be great, if any one provide solution on this issue.
    Thanks,
    Irfan.

    One of the merged PDF was edited by using the "Adobe Lifecycle Assembler" tool and i was able to open that file successfully in my machine.
    Is bi publisher API compatible with such files?
    It would be great, if any one can throw some light on this issue.
    Thanks,
    Indira

  • Combining/merging PDFs sorting issue

    Hi everybody,
    When I need to combine hundred of documents on one single .pdf file I choose of course "combine files into PDF" (I'm working on PDF ProX-win7 64 bits) but I have not my lists sorted by either name nor name correctly; for instance 1 jumps to 10, 11... instead of 1,2,3...
    Obviously I cannot handle the task manually because there are a lot of pages.
    I've tried to modify Windows7 name/folder file structure but it doesn't seem to work properly on PDF. I also tried by clicking on the "name" tag as you can see. What should I do?
    Thank you in advance. I know there are really PDF experts here

    I've just developed a tool that solves this problem.
    Merge PDF Files in True Numeric Order: http://try67.blogspot.com/2011/05/merge-pdf-files-in-true-numeric-order.html

  • XML Publisher in Oracle Applications - Merge PDFs in Templates

    Requirement,
    I have PDF files stored in Huge Blob columns in a oracle apps tables.
    I would like to make a single PDF using the XML publisher template to merge all these PDFs into a single PDF file and show the merged PDF file, when user clicks on view output of the concurrent programme.
    I am not interesed in using the Java apis provided as of now. I would like to acheive this using only template builder, without any java coding.
    Any help would be appreciated on how to build the template. I have tried displaying images and it worked and i am not sure how i can do the samething with PDF files stored in HUGE BLOB columns.
    Oracle XML Publisher Version is 5.6.3 which is being used by our Oracle Applications.
    Thanks
    Ram.

    Requirement,
    I have PDF files stored in Huge Blob columns in a oracle apps tables.
    I would like to make a single PDF using the XML publisher template to merge all these PDFs into a single PDF file and show the merged PDF file, when user clicks on view output of the concurrent programme.
    I am not interesed in using the Java apis provided as of now. I would like to acheive this using only template builder, without any java coding.
    Any help would be appreciated on how to build the template. I have tried displaying images and it worked and i am not sure how i can do the samething with PDF files stored in HUGE BLOB columns.
    Oracle XML Publisher Version is 5.6.3 which is being used by our Oracle Applications.
    Thanks
    Ram.

  • How to merge pdf files into one pdf file?

    In E-Rec we need the capability to mass printing for correspondance. There i want to merge pdf files for candidates into one pdf file. I am doing the following:
    Data: lv_document1           TYPE rcf_s_cs_document_content.
    LOOP AT activity_object_tab INTO ls_activity_object.
        lo_act_corr ?= ls_activity_object-activity.
         CALL METHOD lo_act_corr->process_document
           EXPORTING
             channel  = 'FRONTEND'
           IMPORTING
             document = lv_document1.
      ENDLOOP.
    Now lv_document1 contains the pdf file in  lv_document1-DOCUMENT_X which is of type RAWSTRING.
    This works for one candidate, in this case the pdf for last candidate will be displayed.
    But how would i append in the loop or what would i need to do display all candidates in one pdf.
    Any help will be appreciated.
    Thanks

    File>Create PDF>From File.
    Please post followups in the Acrobat forum.
    Bob

  • PDF problems in Acrobat 9 Pro

    PDF problems in Acrobat 9 Pro
    I'm using windows 7, 64 bit version
    What can be the cause of dots, where underground otherwise white appearance with small black dots.
    They do not come with the pressure. but is rather confusing.
    Mox
    PDF problems in Acrobat 9 Pro
    here's an example of the dots, and yes I have updated acrobat

    You're asking a lot of ancient Acrobat to work with an Office that never existed when it was made. "Just updated my office suite" is a massive change, and Window 8 didn't exist at that time either...

  • Merge PDF documents into one PDF document

    hi expets
    I have got an question. I have several different PDFs.
    Four main PDF and 20 PDFs which are ment as attachements.
    Via ABAP code i would like to chose dynamicaly several of those attachement PDFs and merge them within one of the main forms.
    So as result you will have one pdf which you can see in the print preview and send as one to the spool.
    But is this possible?
    Kindly hear from you!
    Anton Pierhagen

    Hi *,
    Add below  parameter values in report program in FP_JOB_OPEN function module.
    SFPOUTPUTPARAMS-BUMODE = 'M'.
    SFPOUTPUTPARAMS-PREVIEW = ' '.
    Call different adobe forms without using FP_JOB_CLOSE.
    It will merge pdf files.
    At the end, call FP_JOB_CLOSE.
    and then get the merged pdf as FPFORMOUTPUT-pdf.
    Thank you.
    Chandler Bing

  • 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

  • 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

  • Merging PDFs in preview

    I can't seem to merge PDFs in Preview 5.5.1. Am I missing something. Can someone guide me to an article or let me know how to do this. I've read that you simply open multiple PDFs in the thumbnail and then place one PDF on top of another, but when I try, the two PDFs just wiggle around and change order. If not preview - what program should I use?
    Thanks
    Doug

    In Preview's sidebar, just drag one document on top of (i.e. not above and not below) another, but it sounds as if you're doing that.
    Make sure you are doing this in the sidebar:
    and make sure they are both PDFs.

Maybe you are looking for