With the help of VeryPDF Document Converter (docPrint Pro), you can quickly convert Office to PDF and combine PDF by. Document Converter provides four programs. The program which can help you is named docPrint Pro Command Line. This article is about how to use docPrint Pro Command Line to convert Office to PDF. Three steps are required.
Firstly, please download VeryPDF Document Converter, and install it on your computer. The program docPrint Pro Command Line is the executable file doc2pdf.exe stored in the installation folder.
Secondly, please open ainterpreter. For example, if you are a Windows XP, 7 or Vista user, please do as follows: click open the Start menu, click Run, type cmd in the Run dialog box and press Enter.
Thirdly, on the command prompt window that pops out, please type a command line based on the basic usage of docPrint Pro Command Line:
doc2pdf [options] <-i Document Files> [-o Output]
To combine PDF, you are going to use the option -p <output Flag>. Four values are permitted:
- -p 0: overwrite if PDF file exists
- -p 1: insert before first page if PDF file exists
- -p 2: append to last page if PDF file exists
- -p 3: rename filename if PDF file exists
For instance, if you want to you want to convert a PPT to a PDF and combine this PDF with an existing PDF file, your command line might be like the following one:
doc2pdf.exe -p 2 -i D:\in.xls -o E:\out.pdf
It means, convert an XLS file named in to PDF and then append the new PDF file with the PDF file named out, if it exists.
After you type a command line, please press Enter. This is the method that you can use to convert Office to PDF and combine PDF by command line. If you are interested in other usages of docPrint Pro Command Line, please visit: https://www.verypdf.com/artprint/docprint_pro_setup.exe