Merging 2 PDF Files with PdfMerger

Q

How to merger 2 PDF files into a single PDF file using PdfMerger?

✍: FYIcenter.com

A

You can run PdfMerge interactively and specify the first input PDF file, the second input PDF, and the output PDF file in the user interface. Then click the "Merge/Split" button to merge 2 input PDF files.

You can also merge 2 PDF files by running PdfMerger at the command line with an XML file.

First create the XML file called merge.xml like this:

<?xml version="1.0" encoding="utf-8"?>
<merge>
  <file>
    <path>\fyicenter\file1.pdf</path>
    <pages>1</pages>
  </file>
  <file>
    <path>\fyicenter\file2.pdf</path>
    <pages>1</pages>
  </file>
</merge>

Then run the following command: \fyicenter\PdfMerge merge.xml output.pdf

2015-05-30, 1215🔥, 0💬