How to merge pages of PDF files in one page programmatically?

Question:I have a unique requirement that you may be able to help with. We currently use your command line print function. Now I need to combine 3 pages of PDF files into a single file programmatically. These are 3 small pages that must be placed side-by-side on the same large page. Do you have a way to do it?

****************************************************************************************

Answer: According to your need, maybe you can have a free trial of VeryPDF PDF Stitcher Command Line. By this software, you can merge pages of PDF  into a single file programmatically. By this way, you can print some important PDF files in one page. In the following part, I will show you how to merge pages of PDF in to one from script.

First, download and install.

  • Download PDF Stitcher Command Line. This software is GUI version bundled with the command line version.
  • After downloading, you will find a exe file in the downloaded folder. Please install it by double clicking the exe file and following the installation message.
  • Once the installation finishes, there will be an icon on the desktop. Simply double click the icon then you can launch the GUI version.
  • When you need to use the command line version, please go the installation folder.
  • Please call the executable file named “pdfstitch” in Dos Windows and press Enter on the keyboard to check the parameters and examples.

Second, merge PDF in one page from script.

Usage: pdfstitch [options] <input file> <output file>
Examples:

  • When you need merge pages in to one, please refer to the following command line template. There are some planes stated in the plane folder. You can write some ones according to your need.
    pdfstitch -plan "lua" "test.plan" input.pdf _plan.pdf
    Now let us check the merging effect from the following snapshot. I merged five pages of one PDF file  into one page. As I use the trial version, there is a red cross in the middle of the PDF file. When you registered it, this limitation will be removed. And according the you need, you can develop three pages plan, five pages plan and others.

merge 5 pages into one 

Note: when you need to merge pages from different PDF files, now this software can not help you directly. You need to merge many PDF file into one and then this software to extract pages that you need. In the end, please use the plan to merge then into one page.

By this software, you can also merge files from the GUI version, whose  software interface is very friendly. 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)

Random Posts

This entry was posted in PDF Stitcher 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!