ConcatPDF is the tool to concatenate PDF files. It can do the followings in one operation.
GUI version and CUI version are both available./p>
ConcatPDF [option]... {input-file}[#[n]-[m]]...
{input-file}[#[[B]{n}]-[[B]{m}]] | Extract page n to page m in the input-file. Count from last page when a prefix B is opted before n or m. URI is acceptable. |
Options | |
/outfile {file-name} | Save concatenated PDF file as file-name. |
/security {128|40} {user-password|""}
{master-password|""} {permission}...
permissions := ( printing | modify-contents | copy | modify-annotations | fill-in | screen-readers | assembly | degraded-printing ) |
Security setting. 128 --- 128-bit RC4 40 --- 40-bit RC4 printing --- Allow to print. modify-contents --- Allow to modify. copy --- Allow to copy or extract. modify-annotations --- Allow to add or modify annotations or form fields. fill-in --- Allow to input form field and signature. (128-bit RC4 only) screen-readers --- Allow to enable accessibility. (128-bit RC4 only) assembly --- Allow to modify document assembly. (128-bit RC4 only) degraded-printing --- Allow to print degraded mode. (128-bit RC4 only) |
/viewer {preference}...
preference := ( page-layout-single-page | page-layout-continuous | page-layout-continuous-facing-left | page-layout-continuous-facing-right | page-mode-use-none | page-mode-use-outlines | page-mode-use-thumbs | page-mode-full-screen | hide-toolbar hide-menubar | hide-window-UI | fit-window | center-window ) |
page-layout-single-page --- Display one page at
a time. page-layout-continuous --- Display the pages in one column. page-layout-continuous-facing-left --- Display the pages in two columns, with odd numbered pages on the left. page-layout-continuous-facing-right --- Display the pages in two columns, with odd numbered pages on the right. page-mode-use-none --- Neither document outline nor thumbnail images visible. page-mode-use-outlines --- Document outline visible. page-mode-use-thumbs --- Thumbnail images visible. page-mode-full-screen --- Full-screen mode, with no menu bar, window controls, or any other window visible. hide-toolbar --- A flag specifying whether to hide the viewer application's toolbars when the document is active. hide-menubar --- A flag specifying whether to hide the viewer application's menu bar when the document is active. hide-window-UI --- A flag specifying whether to hide user interface elements in the document's window (such as scroll bars and navigation controls), leaving only the document's contents displayed. fit-window --- A flag specifying whether to resize the document's window to fit the size of the first displayed page. center-window --- A flag specifying whether to position the document's window in the center of the screen. |
/add-outlines | Add file names as outlines. |
/fitting {location} location := ( XZY | Fit | FitH | FitV | ... ) |
Specify the location of the document window on a destination
page if /add-outlines is opted. XZY --- Retains. Fit --- Fit the entire page. FitH --- Fit the entire width of the page. FitV --- Fit the entire height of the page. See PDF Reference: Interactive Features > Document-Level Navigation > Destinations to know the details. |
/copy-outlines | Copy bookmarks from the original files. |
The following options can not be described in @file-name file. | |
/charset {charset-name} | Specify character set. |
/help | Show help. |
@{file-name} | Specify options in plain text. Options are split by line feed. |
Notice that the installed directory of ConcatPDF.exe is included in the environment variable PATH.
ConcatPDF /outfile Merged.pdf File1.pdf File2.pdf File3.pdf#3-6
ConcatPDF /outfile Truncated.pdf File1.pdf#1,B1
ConcatPDF /outfile Merged.pdf http://www.ujihara.jp/iTextdotNET/examples/Chap0101.pdf http://www.ujihara.jp/iTextdotNET/examples/Chap0102.pdf
It's quite easy. Drag and drop PDF files you want to concatenate and save as the concatenated file.
Add files you want to concatenate.
Save the concatenated file.
Flag to add file names to the document as outlines.
Specify the location of the document window on a destination page.
Flag to copy bookmarks including the original files.
Set options for viewer preferences.
Set options for document securities.
Close this application.
Split selected files to page-by-page.
Remove selected files from a list.
Select all items in a list.
Move selected files up or down in a list.
View a concatenated file.
View a focused file.
DecryptPDF [option]... {input-file} {output-file}
SplitPDF [option]... {input-file}...
Options | |
/outdir {output-directory} | A directory name to store splitted PDF files. |
/help | Show help. |
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
This application uses the following libraries.
iTextSharp --- This library is distributed under AGPL.
mailto:ujihara@aurora.dti.ne.jp?subject=ConcatPDF
Include 'ConcatPDF' in subject, please.
CCopyright(c) 2004-2012 Kazuya Ujihara <ujihara.jp>. All rights reserved.