You can use VeryPDF docPrint Document Converter Professional, also known as VeryPDF docPrint Pro, to convert lots of JPG files to XPS format. VeryPDF docPrint Pro is an all-to-all document converter. If you know how to use the VeryPDF docPrint Pro Command Line, you can convert any printable files to XPS format in a easy way.
The following four steps are what are required to convert JPG files to XPS format via command line.
1. Create two new folders
You should create two new folders which can be used as the input and output files. Here, we create two folders named [veryin] and [veryout] on the desktop. To create a new folder, you should do as follows: Right click with the mouse on the blank area on the computer screen; > choose [New] on the drop-down menu; > choose [Folder] to create a new folder;
To rename the new folder, you should right click the icon of the new folder; > choose [rename] on the drop-down menu; > click [Backspace] on the keyboard to delete [New Folder] in edit box as illustrated below; > and type the new name for it like [veryin].
2. Run MS DOS
To run MS DOS, you should click [Start] on the desktop; > click [Run] ; > type [cmd] in the [Open] edit box in the [Run] dialog box; > click [OK] .
3. Type the following command lines in DOS, computer will prompt to convert JPG files to XPS format, and store the output files in the selected folder.
C:\Documents and Settings\admin>"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\Documents and Settings\admin\Desktop\veryin\*.jpg" -o "C:\Documents and Settings\admin\Desktop\veryout\*.xps"
3.1. C:\Documents and Settings\admin>"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" ----refers to the excusable file.
3.2. –i ----stands for input. It is always preceding the directory of input files.
3.3. "C:\Documents and Settings\admin\Desktop\veryin\*.jpg" ----indicates the directory of the folder where there are input files. And [*.jpg] stands for all the files in JPG format.
3.4. -o ----refers to output. It is used to notify that the directory for exporting output files is as follows.
3.5. "C:\Documents and Settings\admin\Desktop\veryout\*.xps" ---- is the directory of the output files.
4. Click [Enter] on the keyboard
As soon as you click [Enter] on the keyboard, the computer will start processing the conversion from JPG files to XPS files. You can view the time of process in DOS.
When the covnersion is finished, you can find the following line appear in DOC to report the end of conversion.
C:\Documents and Settings\admin>
The following comparison is between one of the JPG file and its result.