How can I convert lots of HTM documents to XPS format?

HTM refers to a common file extension that identifies Hypertext Markup Language (HTML) documents. It is most commonly used as Web pages. VeryPDF docPrint Pro can help you convert lots of HTM documents to XPS format. As a matter of fact, you can also use it to convert a bunch of documents in any of the following formats: DOC, DOCX, HTML, MHTML, Web Pages, RTF, TXT, XLS, XLSX, PPT, PPTX, VSD, PDF, PS, EPS as well as any other printable documents; to any of the following output formats: PDF, PS, EPS, XPS, PCL, JPEG, TIFF, BMP, PCX, PNG, EMF, WMF, DCX, GIF, MNG, PBM, PCD, PGM, PIC, PSD, PNM, PPM, TGA, AVS, JBG, JP2, JPC, WBMP, XBM, XPM.

The article will show you how to convert lots of HTM documents to XPS format via the DOC command line.

1. Create two new folders

The fist step for you to convert lots of HTM documents to XPS format is to create two folders. One is to contain the input HTM documents; the other is to contain the output format. You can create a new folder on your desktop as follows: Right click with the mouse on the blank area on the desktop; > choose [New] on the drop-down menu; > choose [Folder] to create a new folder; > Name the new folder, for example, you can name it as [veryin]. Then, create another folder in the same way, and name it as [veryout]

clip_image001[4]

Then, drag all the HTM documents you want to convert to the [veryin] folder.

clip_image002[4]

2. Run MS DOS

You can run the MS DOS in the following way: Click [Start] in the left down corner on the computer screen; > click [Run]; > type [cmd] in the edit box in the [Run] dialog box; > click [OK] to run MS DOS.

clip_image003[4]

clip_image004[4]

clip_image006[4]

3. Type the following command lines in DOS:

C:\Documents and Settings\admin>"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe"

-i "C:\Documents and Settings\admin\Desktop\veryin\*.htm" -o "C:\Documents and

Settings\admin\Desktop\veryout\*.xps"

The following is the MS DOS with the mentioned command lines:

clip_image007[4] clip_image009[5]

C:\Documents and Settings\admin>"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe"

refers to the executable file which can help you convert HTM documents to XPS documents.

-i

is a kind of marker that precedes the input documents

"C:\Documents and Settings\admin\Desktop\veryin\*.htm"

represents the directory of the folder that contains input documents. And [*.htm] means that all the source files are in HTM format.

-o

stands for output.

"C:\Documents and Settings\admin\Desktop\veryout\*.xps"

indicates the directory of the folder for exporting the new created XPS documents. In addition, [*.xps] enables the computer to export all the output documents in XPS format in the selected folder titled [veryout].

Please don’t forget to leave a space before and after [-i] as well as [-o] respectively.

4 Click [Enter] on the keyboard

As soon as you click [Enter] on the keyboard, the computer will starts converting lots of HTM documents to XPS format. You can also view the process of conversion in DOS as illustrated below:

clip_image011[5]

In a few seconds, you can find the new created documents in the output folder.

clip_image012[4]

This is how you can use the command line to convert lots of HTM documents to XPS format. If you want to start your 100 times trial of VeryPDF docPrint Pro or buy it, please visit the following website: https://www.verypdf.com/artprint/index.html#dl .

clip_image014[5]

clip_image016[4]

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Random 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!