VeryPDF PDF Stitcher Command Line is a command line application that can stitch PDF pages into one page on both Windows and Mac OS X system. It also allows users to set the sequence, amount, layout, size, rotation, gap space, draw lines, margins, etc. of pages in the new PDF page. What's more, it supports to customize rows and columns of original PDF pages in the stitched PDF page.
VeryPDF PDF Stitcher Command Line provides Windows and Mac versions. The usage and options of the two versions are the same and both of them can sew multiple PDF pages to one PDF page. In the following contents, you will see the usage and options of this command line application.
1. For Windows | 2. For Mac OS X | 3. Options |
---|
1. Download Windows version of VeryPDF PDF Stitcher Command Line Then, please double click the setup file and follow the setup wizard to install it on the computer. In the installed folder, you can see an executable file named pdfstitch.exe which is the called program in the MS-DOS command prompt window.
2. Open MS-DOS command prompt window in which you can input command line.
pdfstitch [options] <input file> <output file>
Where:
pdfstitch: call the program
[options]: set parameters to stitch the PDF pages
<input file>: specify the input PDF file
<output file>: specify the output PDF file
To help you better understand the above command line template, some examples are shown below.
If you want to stitch even or odd PDF pages together, you can use the following two options: -even and –odd.
For example,
pdfstitch -even input.pdf _even.pdf
pdfstitch -odd input.pdf _odd.pdf
The first example is to stitch only even PDF pages together into a new PDF, while the second example is to stitch only odd PDF pages together into a new PDF.
If you need to resize margins of original PDF pages in new stitched page, you can use the following options: -t <int unit>, -l <int unit>, -r <int unit>, and -b <int unit>.
For example,
pdfstitch -t 10 mm -b 10 mm -l 10 mm -r 10 mm input.pdf _tblr.pdf
This example is to set top margin, bottom margin, left side margin and right side margin as 10 mm respectively for the new stitched page.
If you want to rescale the original PDF pages, you can use the following two options: -gx <int unit> and -gy <int unit>.
For example,
pdfstitch -gx 50 mm -gy 50 mm input.pdf _gxgy.pdf
This example is to rescale the width of each vertical gutter as 50 mm and the height of each horizontal gutter as 50 mm.
You can also adjust the PDF pages in vertical or horizontal direction by using the following options: -order <string>, H, V, HR, and VR.
For example,
pdfstitch -order V input.pdf _order.pdf
This example is to adjust the PDF pages in vertical direction.
Please check more options and usage of VeryPDF PDF Stitcher Command Line by calling the executable file in MS-DOS command prompt window and press Enter.
If you want to get full version of this command line application, you can buy VeryPDF PDF Stitcher Command Line here.
1. Download Mac version of VeryPDF PDF Stitcher Command Line and install it on your Mac OS X system. Then, you need to open a terminal window in the Mac OS X so that you can run the program.
2.Since the usage of the Mac version is the same as that of the Windows version, you can refer to usage of the Windows version
VeryPDF PDF Stitcher Command Line supports the following options:
-plan <string> <path> : Use a plan file instead of other options. <string> refers to the plan file type: "lua" or "legacy".<path> refers to the path of the selected plan file. Please do not use other options when used this option.
-pr <int,int,...> : Select the page range, e.g., 1,3,5-10. Or you can use -even or -odd.
-even : Select only the even pages.
-odd : Select only the odd pages.
-rt <int> : Rotate the input PDF pages. (0, 90, 180, or 270.Default is 0.)
-per <int*int> : Set pages per sheet, e.g., 2*4 refers to put 8 pages per sheet: 2 pages a row and 4 pages a column.
-addline <int,int,int> : Add lines. <int,int,int> refer to the RGB values. 0<int<255.
-order <string> : Specify the page order on each sheet.
H : Horizontal (default value)
V : Vertical
HR : Horizontal-reverse
VR : Vertical-reverse
-gx <int unit> : Specify the width of each vertical gutter.Unit is in, mm, or pt.
-gy <int unit> : Specify the height of each horizontal gutter.Unit is in, mm, or pt.
-t <int unit> : Define the top margin for each output sheet. Unit is in, mm, or pt.
-l <int unit> : Define the left side margin for each output sheet. Unit is in, mm, or pt.
-r <int unit> : Define the right side margin for each output sheet. Unit is in, mm, or pt.
-b <int unit> : Define the bottom margin for each output sheet. Unit is in, mm, or pt.
-size <string> : Specify the sheet size. For instance, A3, A4, B3, and letter. Cannot be used with -scale.
-scale <int> : Enlarge or shrink sheets by an exact percentage, e.g., -scale 100 is to retain the original size.
-$ <regcode> : Register the application.