How to convert specific pages of PDF to ePub by command line

With the help of VeryPDF PDF to ePub Converter, you can convert specific pages of PDF to ePub files.

VeryPDF PDF to ePub Converter is a professional command line application that can not only convert multiple PDF files to ePub files in batches, but also can convert specific pages of a PDF file to ePub file with reflowable text for small devices such as iPhone, iPad , iPod Touch, etc. What’s more, it supports to convert Word, Excel, PowerPoint, RTF, TXT, images, and HTML to ePub.

In the following contents, you will see how to use this command line application to convert specified pages of PDF to ePub.

Step 1. Download and unzip

Please download the package of VeryPDF PDF to ePub Converter first. Then, please unzip the downloaded file to a local disk on your computer. In the unzipped folder, there is an executable file named epubconverter.exe and it is the called program for the conversion.

Step 2. Input commands

Since this application is MS-DOS oriented, you need to open the MS-DOS command prompt window so that you can input commands to convert the PDF file to ePub file. Then, please refer to the following command line template to input the commands:

epubconverter [options] <pdf-file> [<epub-file>]

Where:

  • epubconverter: refers to the path of the called program- epubconverter.exe.
  • [options]: refers to the parameters you set to control the conversion.
  • <pdf-file>: refers to the path of the input PDF file.
  • [<epub-file>]: refers to the path where you’d like to save the output ePub file.

To specify the PDF pages to be converted to ePub, please use the following options.

  • -f <int> : first page to convert
  • -l <int> : last page to convert

For example,

D:\verypdf-pdf-to-epub-converter\epubconverter.exe –f 1 –l 3 “E:\april.pdf” “F:\ april.epub”

This example is to convert the first 3 pages of the PDF document named E:\april.pdf to april.epub.

After inputting the commands, please press the Enter button on your keyboard to run the commands.

Several seconds later, you can get the target ePub file in the specified location.

In the following snapshots, you can see the original PDF document and the target ePub file.

Input PDF file
Input PDF file

Output ePub file
Output ePub file

Note: The trial version will leave some watermarks on the converted ePub file. To remove these watermarks, please buy the full version of VeryPDF PDF to ePub Converter.

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

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!