How to insert PDF pages and convert RTF to PDF?

If you plan to convert RTF to PDF, and then insert the new created PDF pages to an existing PDF file, you may need to take a lot of steps to get the result PDF file by means of a normal document converter. Do you believe that there exists a method which only requires three steps to solve your problem? Do you want to have a try? If so, please click VeryPDF HTML Converter Command Line to download the command line application and install it in your computer. Then, read the instruction below to try the easiest and quickest way to insert PDF pages and convert RTF to PDF.

Step 1: Run the command prompt window

You can take four steps to run the command prompt window:

  • Click “Start” in the lower-left corner of the computer screen;
  • Click “Run” on the menu to open the “Run” dialog box;
  • Enter “cmd” in it.
  • Click “OK” to run the command prompt window.

four steps to run the command prompt window

Step 2: Type a command line

The command line should be composed of the following four items: the directory of the executable file, the command which can be used to insert PDF pages, the directory of the input file and the directory of the output file. The following pattern may be able to show those items more clearly.

htmltools -append <int> <RTF file> <PDF file>

  • htmltools is the executable file of VeryPDF HTML Converter Command Line.
  • -append <int> is the command that can be used to insert PDF pages. The angle brackets enclose essential contents. int refers to integer. Moreover, four parameter values are provided: 0, 1, 2 and 3.
    • To overwrite an existing PDF file, please type -append 0;
    • To insert the PDF pages converted from RTF before the first page of the existing PDF file, please enter -append 1;
    • To add the PDF pages converted from RTF to the end of the existing PDF file, please type -append 2;
    • To rename the filename to avoid the duplication of name, please enter -append 3.
  • RTF file is the input file.
  • PDF file is the output file.

If you want to view the effect of conversion from RTF and PDF, you can type another command -view between the existing command and the input file as shown in the following pattern,

htmltools -append <int> -view <RTF file> <PDF file>

The following is a command line which can be taken as a good example. It includes the four items mentioned above, and uses the directories to represent the files. The directories in this example can be replaced with the directories of the files in your computer.

D:\htmltools\htmltools.exe -append 2 C:\in\lo.rtf D:\out\lo.pdf

  • D:\htmltools\htmltools.exe ---- the directory of the executable file. It represents the executable file htmltools.exe located in the folder htmltools on disk D.
  • -append 2---- the command that can be used to insert the PDF pages. To be more exactly, this command can be used to insert PDF pages after the last page of the existing PDF file.
  • C:\in\lo.rtf ---- the directory of the input file in the format RTF.
  • D:\out\lo.pdf ---- the directory of output files. If there is a PDF file called lo in the folder out on disk D, the computer will insert the input file after the last page of the PDF file. If there is no such a PDF file, this will be the new created output file. Moreover, to view the result PDF file, you can add the command –view in the example as follows,

D:\htmltools\htmltools.exe -append 2 –view C:\in\lo.rtf D:\out\lo.pdf

Step 4: Press “Enter”

Press the key “Enter”. Your computer will begin to insert PDF pages and convert RTF to PDF right away. When you see “result=OK” in the command prompt, it means that the computer has converted RTF to PDF. In order to buy the full version of VeryPDF HTML Converter Command Line, please click Purchase. To get more information about other products, please visit the home page of VeryPDF.

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!