When you want to add the content of a DOC file to an existing PDF file, you are going to need an application which can help you convert DOC to PDF and combine PDF. If you are looking for a command line version, I would like to recommend VeryPDF docPrint Pro.
VeryPDF docPrint Pro is also named Document Converter or Document Converter Professional. It is the professional version of Document Printer (docPrint) and has the capacity to convert all printable documents to image files or PDF file, and provides a lot of options to set output properties. You can get a 50-time trial by clicking here.
To use VeryPDF docPrint Pro to convert DOC to PDF and combine PDF via command line, you need to take two steps:
The first step is to open the command prompt window. If you are a Windows XP user, please open it by clicking Start, > clicking Run on the Start menu, > typing cmd in the Run dialog box, > and pressing Enter. Then the command prompt window will pop out on the screen. After that, you can proceed to the next step.
The second step is to type a command line and press Enter. I would be helpful to take a look at the usage, the related option parameter and values, and the example before you type your command line.
- Usage: doc2pdf [option>] <-i input file> [-o output file]
- Option:
- -p 1: insert before the first page if a PDF file exists
- -p 2: append to the last page if a PDF file exists
- -p 3: rename the filename if a PDF file exists
- Example: “C:\docPrint Pro v5.0\doc2pdf.exe” –p 1 C:\in.doc -o D:\1.pdf
You see, there are three option values which can help change the order when convert DOC to PDF and combine PDF files. Moreover, in the command line example, the path of the executable file is enclosed by a pair of quotation marks, this is because the there is a space before and one after Pro in “C:\docPrint Pro v5.0\doc2pdf.exe”.
You can also use VeryPDF docPrint Pro to set other options and convert other types of files. Please feel free to ask any question. Thanks for reading!