A way to convert Rich Text Format to xps

Rich Text Format could be replaced by RTF, which is a common text file format that supports "rich text". RTF file may include several types of text formatting, such as bold type, italics, different fonts and font sizes, custom tab settings, etc. RTF files may also support images saved within the text file. XPS is the format of descriptor file containing information written in the XPS page description language developed by Microsoft. XPS file could be formatted like an .XML file, where users could define the layout, appearance, and printing information for a document. XPS was designed as a replacement for the Enhanced Metafile (.EMF) format. It is similar to a .PDF file, but is based on XML instead of the PostScript language. XPS files can be created in Windows by selecting the "Microsoft XPS Document Writer" as the printer when printing a document. DOC to Any Converter Command Line could help you convert rtf to xps within just several seconds, which could also help users convert other formats, such as doc to pdf, ppt to ps and xlsx to xps etc.. DOC to Any Converter Command Line could also be used in batch conversion and setting the options to the targeting file. If you are interested, below is the method to convert rtf to xps.

First, please open the operating environment of DOC to Any Converter Command Line. Click “start” button>select “Run” on start menu>input “cmd.exe”>click “ok” button, the command prompt window could be opened, and below is the current directory:

C:\Documents and Settings\admin>

Then to start DOC to Any Converter Command Line, inputting the path of ‘doc2any.exe’ into the command prompt is a way, or just drag ‘doc2any.exe’ into the command prompt window directly, which is another method. Then add the source file by inputting its path and prepare the targeting path, click “enter” button to process the single excel to xps. Below is the example:

C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space> D:\doc2any_cmd\rich.rtf<space>D:\doc2any_cmd\rich.xps<enter>
Thank you for choosing our product.

If you would like to get a xps file with different properties, you could input the parameters between the path of “doc2any.exe” and the source file path. Below is the related example.

C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space><options><space> D:\doc2any_cmd\rich.rtf<space>D:\doc2any_cmd\rich.xps<enter>
Thank you for choosing our product.

(<options> represent any parameters you may input during the conversion)

And if you have lots of RTF files in a folder, and do not want to convert them one by one, maybe you could refer to the following example:

C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space><options><space> D:\doc2any_cmd\*.rtf<space>D:\doc2any_cmd\*xps<enter>
Thank you for choosing our product.

(the result of the conversion above is all of xls files in the folder of “doc2any_cmd” will be converted into xps files added in the folder of “doc2any_cmd’)

The key point of batch conversion is to make the source files into the same folder, and input the uniform path about all of source files using “*” replacing the source file name.

After the examples above, you may say how to convert each page of rtf file to xps files separately. Here is the solution with DOC to Any Converter Command Line: add “%” following the targeting file name, and below is the example:

C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space><options><space> D:\doc2any_cmd\rich.rtf<space>D:\doc2any_cmd\rich%.xps<enter>
Thank you for choosing our product.

This is the end to convert Rich Text Format to xps with DOC to Any Converter Command Line. More info of DOC to Any Converter Command Line, please click here. Also if you are interested in this converter, please click the link to download this tool to try it, I think you will love this multi-functional converter. Thank you for reading this article and welcome to rectify it.

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!