Convert PDF to HTML by command line

If you want to share your PDF document with your friends, colleagues, families, etc. online, you can convert the document of pdf to html file and then upload the file into internet. So for this conversion, you can use the command line application VeryPDF PDF to HTML Converter Command Line.

By using PDF to HTML Converter Command Line, you can convert multiple PDF files to one continuous HTML page, or convert such a PDF file or files to several HTML pages by inputting some commands in MS-DOS interface.

If you want to use this command line application, you can access its homepage to download the application. For using the application, you just need to extract the ZIP file to some location of your computer and then the application will be runnable at once. The called program for the conversion from pdf to html is img2html.exe in the extracted package.

Please see the following detailed steps for the conversion. There are only three steps:

1. Please open MS-DOS interface. For PDF to HTML Converter Command Line is a MS-DOS oriented application, in order to input your command line, you need to open MS-DOS interface at first. Please click “Start”—“Run” to open “Run” dialog box. Then input “cmd” in “Open” combo box and click “OK” button.

2. You need to input the command line into opened MS-DOS interface. To write the right command line, please follow the following command line template:

pdf2html [options] <PDF-file> <HTML-file>

To apply the command line template, please see the specific examples below:

pdf2html.exe C:\in.pdf C:\out.htm

pdf2html.exe -r 150 C:\in.pdf C:\out.htm

pdf2html.exe -noimg C:\in.pdf C:\out.htm

The first example is to convert pdf to html only without setting any parameters for the target file.

The second example is to set the resolution as 150 DPI for the target file by using the option “-r” .

The third example is to remove images from HTML files by using the option “-noimg”.

In the command line, pdf2html.exe is to call the called program, C:\in.pdf is the path of input PDF document. C:\out.htm is the path of target file which must be specified by yourself. Please remember that you need to use the path of each file used in the command line.

3. At last, to run the conversion from pdf to html, you need to hit “Enter” button on the keyboard and you can browse the target file in the specified location. If you want to see the usage of the command line application, you can drag the executable file pdf2html.exe into MS-DOS interface to see its basic usage.

VN:F [1.9.20_1166]
Rating: 2.0/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
Convert PDF to HTML by command line, 2.0 out of 10 based on 2 ratings

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!