VeryPDF PDF Toolbox Command Line was developed by VeryPDF software company which can be used to in many kinds of formats. Say by this software, you can merge multiple PDF files into one PDF file, you can file in even and odd numbers and you can also cross file. If you need, by it you can specify the page ranges of merging PDF files. In the following part, I will show you how to use this software to merge PDF in different circumstances.
Merge multiple PDF files into one.
This function can be used to merge multiple PDF files into one PDF file. You can use handles and handle arguments to specify page ranges,rotate pages, change order when merge PDF. And when you are developing a project, this software can be used together with other applications.
Usage: pdftoolbox <input files> [options] <-outfile output >
- When you need to merge PDF files into a new PDF, please use the following command line.
pdftoolbox in1.pdf in2.pdf -merge -outfile out1.pdf
Parameters: -merge: merge multiple PDF files into one PDF file.
-outfile : specify an output file name.
Note: now this software will fail to merge PDF files when there are some non-English characters in the input and output file path. Say if the file path like this:C:\Documents and Settings\Administrator\桌面\wendang.txt", the merging process will fail you. But we will fix this bug in next edition.
Cross merge PDF file documents.
What I mean “Cross merge” is that by this function you can merge PDF file in cross order. Say when merging PDF files A and B, the merged new PDF order is A1B1A2B2¬¬¬¬.
- When you need to cross merge PDF file, please use the following command line. By those command line, you can merge even pages of PDF A and odd pages of PDF B to a new PDF file.
pdftoolbox A=even.pdf B=odd.pdf -crossmerge A B -outfile collated.pdf
or if odd.pdf is in reverse order:
pdftoolbox A=even.pdf B=odd.pdf -crossmerge A Bend-1 -outfile collated.pdf
Parameter “-crossmerge” nearly has the same functions of parameter “-merge” except when you need to take one page at a time from each input PDF file.
Merge specified pages of PDF files.
This is the frequently used function when merging files as some time we only need a few pages of some PDF files.
- When we need to merge PDF pages of 1-12 and page 14 to a new PDF file, please use the following command line.
pdftoolbox in.pdf -merge 1-12 14-end -outfile out1.pdf
pdftoolbox A=in1.pdf -merge A1-12 A14-end -outfile out1.pdf
This is the end of this article, during the using of VeryPDF PDF Toolbox Command Line, if you have any question, please contact us as soon as possible.