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. 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 text to xps easily and other formats, such as doc to flash, ppt to pdf and xlsx to eps etc.. DOC to Any Converter Command Line could also solve the problem of batch conversion during one process and make the targeting file more detailed with the parameters. Thus, if you think it is helpful to you, please allow me to illustrate the method to convert txt 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, or there is another way to open it: clcik “Windows+R” hotkey>input “cmd”>click “ok” button, and below is the current directory:
C:\Documents and Settings\admin>
Then to start DOC to Any Converter Command Line, just drag ‘doc2any.exe’ into the command prompt window directly, or input the path of ‘doc2any.exe’ into the command prompt directly,which will get the same effect. Then input the source path in order to add the source file, or drag the source file into the command prompt window, and prepare the targeting path, finally, to process the single txt to xps, please click “enter” button. Below is the example you may refer to:
C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space> D:\doc2any_cmd\beyonce.txt<space>D:\doc2any_cmd\beyonce.xps<enter>
Thank you for choosing our product.
If you want to get a xps file with different properties without any means, do not worry, DOC to Any Converter Command Line could still give you a perfect answer: just input the parameters between the path of “doc2any.exe” and the source file path, more info, please refer to the related example below:
C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space><options><space> D:\doc2any_cmd\beyonce.txt<space>D:\doc2any_cmd\beyonce.xps<enter>
Thank you for choosing our product.
(<options> represent any parameters you may input during the conversion)
And if you want to convert all of text files in a folder, please repeat the steps above to convert them one by one. However, you may ask is there a way to convert them in batches one time? Yes, of course, you can, cause DOC to Any Converter Command Line could always be your best assistant on converting issues. Below is the example:
C:\Documents and Settings\admin>D:\doc2any_cmd\doc2any.exe<space><options><space> D:\doc2any_cmd\*.txt<space>D:\doc2any_cmd\*xps<enter>
Thank you for choosing our product.
(the result of the conversion above is all of text 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 like above)
To convert each page of text file to xps files separately, just 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\beyonce.txt<space>D:\doc2any_cmd\beyonce%.xps<enter>
Thank you for choosing our product.
It is over to convert text to xps with DOC to Any Converter Command Line. More info of DOC to Any Converter Command Line, please click here. Interested in this tool, please click the link to download this tool to try it. At last, thank you for reading this article and welcome to rectify it.