How to convert Word to PDF and set PDF owner password via command line?

If you want to convert Word to PDF and set PDF owner password via command line, you need to take three steps to get the job done. Firstly, you need to download a professional command line application which is able to convert DOC, DOCX, or other type of Word to PDF. This application also needs to support password setting. I know a perfect document converter named VeryPDF Document Converter (docPrint Pro) which can meet all the requirements.

VeryPDF Document Converter (docPrint Pro) is an all-to-all document converter. And it provides multiple versions including the command line application. VeryPDF Document Converter supports all Windows OS including Window XP, Windows Vista, Windows 7, etc. and supports for 500+ Windows applications. What’s more, it does not need Adobe Acrobat software. You can download the command line version by clicking here.

The following part will show you how to use VeryPDF Document Converter Command Line to convert Word to PDF and set PDF owner password via command line.

First of all, please open the command prompt window. In Windows XP, you can do as follows: click the Start button in the left-down corner on screen to open the Start menu. Then, click Run on the Start menu. When the Run dialog box pops out, you should type “cmd” in the Open edit box. And then click OK. When you see the command prompt, please proceed to the next step.

Secondly, you should type a command line in the command prompt window and press Enter on the keyboard. For the main executable file of VeryPDF Document Converter Command Line, the basic usage is doc2pdf [options] <-i Document File> [-o Output file]. The option for PDF password setting is –s ownerpwd=123. To better understand the usage, please take a look at the following example:  “c:\docPrint Pro v5.0\doc2pdf.exe” –s ownerpwd =123 -i c:\in.doc -o d:\out

      1. “c:\docPrint Pro v5.0\doc2pdf.exe”—the directory of the directory of executable file
      2. –s ownerpwd =123—the option that set PDF owner password to be 123
      3. -i c:\in.doc—represents input files
      4. -o d:\out—represnets output files

Is this method helpful? If you want to get other information about VeryPDF Document Converter Command Line, please type the directory of the executable file in the command prompt window and press Enter. You will see other options.

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!