Cross Merge PDF Files by PDF Toolbox

  VeryPDF PDF Toolbox Command Line can help you  rearrange PDF page orders as it can help split PDF to single pages and then merge with another PDF file. Meanwhile it also can help you cross merge PDF file into a new one say we have two pdf files,
A.pdf contains Al, A2, A3, A4, A5 pages,  B.pdf contains Bl, B2, B3, B4, B5 pages, and we want the output PDF file will contain following pages,Al, Bl, A2, B2, A3, B3, A4, B4, A5, B5. There are many software in the market can help you do this but when you need this function as part of software, please try PDF Toolbox as it can help do more other settings.

Step 1. Download PDF Toolbox

  • This software can work under multiplatform like Mac, Windows and Linux. So when you need to merge PDF file under Mac or Linux, this software can also help you. It can work together with VB, VC, .NET and other application. Here I will use the command line version to show those basic functions.
  • Once downloading finishes, please extract zip file to folder and then check working effect by double clicking bat file in the test folder.

Step 2. Cross merge PDF file by command line

Usage: pdftoolbox <input files> [options] <-outfile output >

  • When you need to cross merge PDF files, please refer to the following command line templates.
  • pdftoolbox A=sample_in1.pdf B=sample_in2.pdf -crossmerge A B -outfile _crossmerge_out_A-B.pdf
    pdftoolbox A=sample_in1.pdf B=sample_in2.pdf -crossmerge A B Bend-1 -outfile _crossmerge_out_A_B_Bend-1.pdf

    The syntax of the command line is a little complicated. Please input the full path of executable first, then use capitalized A to stand for the first input PDF file. Use capitalized B to stand for the second PDF file. Last use parameter option to cross merge those two PDF files.
    Parameter:
    -crossmerge : the same as -merge except that -crossmerge takes one page at a time from each input PDF file.
    -merge         : 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.
    odd : the odd-numbered PDF pages, e.g., Aodd is to take odd pages in file.
    even: the even-numbered PDF pages.
    end : the last page of a file, e.g., A1-end is the same as A.
    E  : rotate 90 degrees, e.g., A4-9E is to rotate the pages 4-9 of file A by 90 degrees.
    S  : rotate 180 degrees.
    W  : rotate 270 degrees.
    N  : rotate 0 degree.
    L  : rotate counterclockwise.
    R  : rotate clockwise.

Now let us check the cross merging effect from the following snapshot.
input PDF
                                                  input two PDF files

output PDF

During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in PDF Toolbox Command Line and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!