Batch Merging PDF files.

Okay here is the deal. We have two folders. Both folders have different PDF files that have the exact same name. So there is a /billing/00001.pdf and /activity/00001.pdf. We want to merge those two PDFs together through a batch process that will take care of all of the PDFs in each of the folders at once. Is this possible?

Hello
We look exactly for the same. A Batch Script to have multiple files merged in one PDF. Can you please also send me a PM for further Information?
Thanks a lot
regards
Stefan

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);

  • Merge PDF files into (preserving layer info)

    Is it possible to combine several PDF files into one and preserve the layers of each source PDF into the merged one ?

    ... not sure SSIS is the correct tool for you unless you're already using it or have other tasks to perform besides merging pdf files.
    There is no functionality like that available out of the box, but if you have the right (third party) .Net assemblies then you could use SSIS (Script Task/Component). An other option is to call a tool/batch file via the execute process task.
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Batch lock PDF files

    We mostly have Acrobat 9 or X standard licenses and few Pro 9.  What I'm looking for is the ability to batch lock PDF files before we post them to consultants or partners.                   
    I know you can lock each PDF via Standard.  Pro gives you the ability to batch do it but it makes no sense to upgrade 40 licenses just for that feature.  Last resort option would be to create multipage PDFs and lock that vs. the individual but I'd like the ability to do the individual.
    The files are being locked down to print at 150dpi only.  That way the PDF's can't be imported into Illustrator and saved out to a CAD file.

    Hello
    We look exactly for the same. A Batch Script to have multiple files merged in one PDF. Can you please also send me a PM for further Information?
    Thanks a lot
    regards
    Stefan

  • 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

  • How to batch upload PDF files into database BLOB

    Hello.
    I have a requirement to batch upload PDF files into BLOB column of an Oracle 8.1.7 table from Forms 6i Web. The content of the blob column (ie. the PDF content) MUST be displayable from all client software (eg. Oracle Web forms, HTML forms, etc.)
    Our environment is
    Middle-tier is 9iAS on Windows/2000
    Database is Oracle 8.1.7.0.0 on VMS
    Oracle Web Forms 6i Patch 10
    Basically my Oracle web form program will display a list of PDF files to upload and then the user can click on the &lt;Upload&gt; button to do the batch upload. I have experimented the following approaches but with no luck.
    1. READ_IMAGE_FILE forms built-in = does NOT work because it cannot read PDF file. I got error FRM-47100: Cannot read image file
    2. OCX and OLE form item = cannot use this because it does NOT work on the Web. I got error FRM-41344 OLE object not defined
    3. I cannot use DBMS_LOB to do the load because the PDF files are not in the database machine.
    4. Metalink Note 1682771.1 (How to upload binary documents back to database blob column from forms). When I used this, I got ORA-6502 during the hextoraw conversion. In using this solution, I have downloaded a bin2hex.exe from the Google site. I've noticed that when I looked at the converted HEX file, each line has the character : (colon) at the beginning of each line. I know the PDF file has been converted correctly to HEX format because when I convert the HEX file back to BIN format using hex2bin.exe, I'm able to display the converted bin file in Acrobat Reader. When I removed the : (colon) in the HEX file, I did NOT get the ORA-6502 error but I CANNOT display the file in Acrobat Reader. It gives an error "corrupted file".
    5. upload facility in PL/SQL Web toolkit - I tried to automatically submit the html form (with htp.p) but it does NOT load the contents of the file. I called the URL from Oracle forms using web.show_document. There seems to be issues with Oracle Web forms (JInitiator) and HTML (+ htp.p).
    The other options I can think of at this point are:
    1. Use SQL*Loader to do the batch upload via SQL*Net connection and use HOST() built-in from Oracle Webforms to execute SQL*Loader from the 9iAS.
    2. Write a Visual Basic program that reads a binary file and output the contents of the file into a byte array. Then build a DLL that can be called from Oracle webforms 6i via ORA_FFI. I don't prefer this because it means the solution will only work for Windows.
    3. Write a JSP program that streams the PDF file and insert the contents of the PDF file into blob column via JDBC. Call JSP from forms using web.show_document. With this I have to do another connection to the database when I load the file.
    4. Maybe I can use dbms_lob by using network file system (NFS) between the application server and VMS. But this will be network resource hungry as far as I know because the network connection has to be kept open.
    Please advise. Thank you.
    Regards,
    Armando

    I have downloaded a bin2hex.exe from the Google site.
    ... each line has the character : (colon) at the
    beginning of each line. I'm afraid it isn't a correct utility. I hope you'll find the source code of a correct one at metalink forum:
    Doc ID: 368771.996
    Type: Forum
    Subject: Uploading Binary Files: bin2hex and hex2bin do not reproduce the same file
    There is some links to metalink notes and some example about working with BLOB at http://www.tigralen.spb.ru/oracle/blob/index.htm. Maybe it helps. Sorry for my English. If there is any problem with code provided there, let me know by e-mail.

  • Can I batch print PDF files with Adobe Acrobat Reader X

    can I batch print PDF files with Adobe Acrobat Reader X?  I have tried from Windows Exploer (Windows XP) and it looks like the files are opening but they do not print.
    Pat

    Very strange!  What is your installed Reader version?
    Try disabling Protected Mode in Adobe Reader [Edit | Preferences | Security (Enhanced)].

  • Merging PDF files through a script

    Hi everyone,
    I want to merge a couple of PDF files
    through a script, because i have to do
    it for a good number of them every time
    I get them sent.
    I was wondering, does Reader have a
    command that can be called in the command
    line in order to merge this pdf files through
    a script.
    Ted.

    Reader can do very few things besides being a reader. If you wanna merge PDF files, use a PDF merger.

  • 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

  • How to compress a batch of pdf files in different sizes to a specific target (20 mb)

    Hi,
    How do I compress a batch of pdf files in different sizes (21-39 mb) to a specific target (20 mb)?
    Thanks:)

    By endless trial and error.

  • While trying to merge pdf files which are having the version 1.4 throws err

    As per my business need i need to merge some pdf files. Among those files some are having the version above 1.4. I am using the api "oracle.apps.xdo.jar ".
    While trying to merging the pdf files its throwing the exceeption like
    " oracle.apps.xdo.XDOException: oracle.apps.xdo.template.pdf.exception.FatalException: The template seems to be in either corrupted one or newer version than PDF1.4 ".
    If all of the files are having the below 1.4 version then working fine. But any one of the file have above 1.4 version then it is throwing the above error.
    Please can i have the solution for this problem.

    Thanks for the response.
    Sorry.there is no option to feed again into <1.4 version. cause those documents are already existed in database and i have to use the same documents to merge.
    So is there any alternate solution on the same .

  • How to merge pdf files in Preview in Lion

    I've consulted Preview Help to find out how to merge many pdf files into one. The Help window tells me to open each file, and transfer the thumbnail from each opened document into the sidebar of the other. Who wrote this Help item? Once you drag one thumbnail into the other sidebar, the other window closes, and there's no way to drag the closed file into the other file's sidebar. And I've tried! And tried! A helpful way out is to combine the two files, click Print, then save as PDF. But there must be a more direct way to accomplish this merger. Before Leopard, the procedure was easy. Then in Leopard, Apple made it a little more challenging. Finally in Lion, Apple seems to have surpassed itself, making it almost impossible. Does anyone know how to accomplish this Herculean task in an easy way?

    > The Help window tells me to open each file, and transfer the thumbnail from each opened document into the sidebar of the other.
    It works the same way it did in SL. That's exactly what I did. Are you sure you are dragging the thumnail? I just dragged a pdf to a file of many pdfs combined and it went right in and joined the family. View menu > Thumbnails?

  • Merging PDF files

    Can someone please tell me how to merge multiple PDF files into one PDF file?

    Hello,
    To edit or merge PDFs you need to use Adobe Acrobat desktop software.
    You can download a free 30 day trial of Acrobat Pro here:
    http://www.adobe.com/products/acrobatpro/tryout.html
    Regards,
    Michelle

  • Merging PDF files - Each file name to be added as bookmark

    Hi,
    Assume i have pdf file with file names as follows
    Intrduction.pdf
    Lesson1.pdf
    Lesson2.pdf
    Lesson3.pdf
    After Merging in to a single pdf file i want the file names to be added as bookmark and when i click the
    a. Lesson1 bookmark it should go to the Lesson1 first page
    b. Lesson2 bookmark it should go to the Lesson2 first page
    Please let me know how to achieve this.
    Thanks.

    Combine the files as usual via File - Create - Combine files into a Single PDF, just click on the Options button in that window and make sure that the "Always add bookmarks" box is ticked.

  • 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

Maybe you are looking for