Convert password protected PDF to webpage by command line

When you need to convert the password protected PDF to webpage by command line, you may think about which kind of application you can use and how to make the conversion. So this article devotes to resolve these to problems for you. You jus need to read the following contents.

The application to be used

VeryPDF PDF to HTML Converter Command Line is a kind of application which is able to convert PDF to webpage document wit single pages or continuous page. At the same time, you can also use this application to realize different kinds of functions. For example, you can convert the password protected PDF document to webpage file, set the resolution for webpage,  remove images from webpage, etc. To download the application, please enter its homepage for obtaining the free evaluation version of the app.

The conversion method to be taken

Please extract the downloaded ZIP file to some disk of your computer and then you can use the application at once. The called program of the conversion is the executable file pdf2html.exe in the package.

Firstly, you need to open MS-DOS interface for inputting the commands by clicking “Start”—“Run” to open “Run” dialog box and then inputting “cmd” in “Open” combo box and clicking “OK” button.

Secondly, please input the commands by following the template below:

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

For converting password protected PDF to webpage, you can use the options “-opw” and “-upw” in the command line and please see the following example:

pdf2html –upw 123 –opw 456 C:\file.pdf C:\file.htm

In the command line,

  • pdf2html stands for the called program pdf2html.exe.
  • –upw 123 is to input the user password of PDF document.
  • –opw 456 is to input owner password of PDF document.
  • C:\file.pdf is the path of source file.
  • C:\file.htm is the path of target file.

Lastly, please hit “Enter” button to run the conversion from PDF to webpage. If you want to see all the options and examples about this application, you can type the absolute path of the executable file pdf2html.exe in MS-DOS interface and press “Enter” button.

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!