Print txt to emf in a command line

If you want to use command line application to print the document of txt to emf image format, you can use the development package Mini EMF Printer Driver. The development package is specially designed for software designers who want to realize the function of converting any printable documents to various kinds image formats in their own applications.

The command line application in Mini EMF Printer Driver is named as MiniPrint.exe. You can run MiniPrint.exe in Command Line window to convert DOC, PPT, XLS, RTF, PDF, VSD files to EMF, WMF and BMP, JPEG, TIFF, PNG, GIF, TGA etc. files. To use the command line application, you need to download Mini EMF Printer Driver at http://www.verypdf.com/artprint/mini-emf-printer.exe for experience the free trial version.

If you need to use the development license of Mini EMF Printer Driver, please buy it at the following purchasing website: http://www.verypdf.com/order_miniemfprinter.html. The license is royalty free allowing developers to bundle and distribute the EMF Printer Driver as part of their own application with no per user fees.

In the conversion from txt to emf, you need to finish three steps.

1. For Miniprint.exe is a MS-DOS oriented application, so to convert the document of txt to emf image with this command line application, you can need to open the MS-DOS prompt window at first for inputting your commands.

There are two ways to open MS-DOS prompt window offered in this article. The first one is to click “Start”— “Run” and input “cmd” in “Open” combo box. Then please click “OK” button to launch the command line window. The second way is to use the hot key “Window”+ “R” to open “Run” dialog box in which you should do the same work mentioned in the first method.

2. For converting txt to emf, you need to input the related commands in to MS-DOS prompt window to realize the function. The command line contains three parts—called program, source file and target file. Please see the following command line template.

miniprint.exe C:\in.txt C:\out.emf

In which

miniprint.exe stands for the called program MiniPrint.exe.

C:\in.txt stands for the source file TXT document.

C:\out.emf stands for the target file EMF image file.

The command line example below is a good interpreter to the template.

"C:\Program Files\VeryPDF Mini EMF Printer v2.0\emf_printer_driver\miniprint.exe" "C:\Documents and Settings\admin\Desktop\demo\txt\txt.txt" C:\output.emf

"C:\Program Files\VeryPDF Mini EMF Printer v2.0\emf_printer_driver\miniprint.exe" is the absolute path of the command line application.

"C:\Documents and Settings\admin\Desktop\demo\txt\txt.txt" is the absolute path of source file.

C:\output.emf is the absolute path of target file.

When you finish in inputting your commands, please hit the “Enter” button on your keyboard for running the conversion.

3. You can find the target file in the specified location which you have just set in the command line.

The development package Mini EMF Printer Driver also gives some demos which are written with different program languages such as C#, Delphi, etc. for showing different functions of Mini EMF Printer Driver.

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

This entry was posted in Mini EMF Printer Driver and tagged . 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!