Convert documents of TXT to WMF by command line

The command line application of Document Converter is easy to use when you want to convert the document of txt to wmf and there are only three steps you should take in the conversion. The command line application can be used to convert any printable documents to many kinds of image formats and set parameters for the target file with different commands.

You may not hear of the application Document Converter before. In fact, Document Converter is a combination of three kinds of applications—command line application, GUI application and virtual printer application, all of which are designed for different purposes. If you want to develop some new kinds of software, please choose the command line application we have mentioned above. If you want to convert documents to images more intuitively, please choose the GUI application which has a friendly user interface. If you are to save paper and ink when you print documents, please choose the virtual printer application.

Before using the command line application, please download it at http://www.verypdf.com/artprint/docprint_pro_setup.exe and install it on your computer. This is only a free trial version and if you want to use all the functions without any limitations, please visit the purchasing webpage to buy the product: http://www.verypdf.com/order_docprintpro.html.

You will see an executable file named as doc2pdf.exe in installation package and it is the called program in the conversion from txt to wmf. When you write the command line, please call doc2pdf.exe. Then please see the contents below which will show you how to convert txt to wmf.

1. Please open MS-DOS interface. You can use the hot key “Window”+ “R” combination to open “Run” dialog box or click “Start”—“Run” to open “Run” dialog box in which you need to input “cmd” or “CMD” in “Open” combo box and click “OK” button, which will help you open MS-DOS interface.

2. The command line which is consisted of called program, source file and target file should be inputted into opened MS-DOS interface. Please refer to the following command line example to write your own commands.

doc2pdf –i D:\in.txt –o D:\out.wmf

In the command line,

  • doc2pdf stands for the called program and you need to use the path of it when you input your own command line.
  • –i D:\in.txt stands for the called program and the option “-i” can not be ignored.
  • –o D:\out.wmf stands for the target file and the option “-o” can also not be lost.

If you don’t want to input a long path of some file in the command line, you can directly drag the file from its folder into MS-DOS interface for convenience.

3. Please click “Enter” button to run the conversion from txt to wmf.

If you want to read more articles about the command line application or Document Converter, please enter the blog: VeryPDF Knowledge Base.

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

This entry was posted in docPrint Pro. Bookmark the permalink.

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!