Convert documents of RTF to XPS by command line

For converting the document of rtf to xps format file, you can use the command line application of Document Converter which is an expert document converter. The command line application of it can convert any printable documents to various image formats with easy operations. With the command line application, software developers can also develop new applications and redistribute the command line application to their developed applications.

There are also two other internal applications in Document Converter. One is the GUI application which is good at batch conversion and it has a friendly and clear interface. The other one is the virtual printer application which is not only a simple Windows printer but also a powerful document converter.

For using the command line application, you can download the trial version for trying at https://www.verypdf.com/artprint/docprint_pro_setup.exe. Then please set up it on your computer. If you want to use all the functions of the command line application without any limitations, you can buy it at https://www.verypdf.com/order_docprintpro.html.

Before using the command line application to convert rtf to xps, you should open MS-DOS prompt window for it is a MS-DOS oriented application. You can click “Start”—“Run” to open “Run” dialog box in which you need to type “cmd” in “Open” combo box and click “OK” button. You can also take the help of the hot key “Window” + “R” to open “Run” dialog box.

Then please input the command line which contains called program, source file and target file into opened MS-DOS prompt window. Please see the following command line template:

doc2pdf –i C:\A.rtf –o C:\B.xps

If you don’t understand the template above, please see the following specific example:

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "C:\Documents and Settings\A.rtf" -o "C:\Documents and Settings\admin\B.xps"

In the command line

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of called program which is the executable file doc2pdf.exe in installation package.

-i "C:\Documents and Settings\A.rtf" is the path of source file and you should not lose the option “-i”.

-o "C:\Documents and Settings\admin\B.xps" specifies the path of target file and the option “-o” can not be ignored, either.

At last, to run and finish the conversion from rtf to xps, please hit “Enter” button on your keyboard. If you want to learn more information about the command line application, please enter its homepage via clicking here.

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!