How to convert an image of emf to pdf file in a command line?

You may not like the Command Line before you browse this article in which will introduce you a way to convert an image of emf to pdf file in a command line.Of course you should choose a software which supports the command line application.HTML Converter Command Line will be a good choice for you because it is the command line application of VeryPDF HTML Converter which allows you to create previews or thumbnails of web pages in a number of different formats, such as TIF, TIFF, JPG, JPEG, GIF, PNG, BMP, PCX, TGA, JP2 (JPEG2000), PNM, etc. It also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.So it is a powerful converting software.

You can call HTML Converter command line application called from within ASP, VB, VC, Delphi, BCB, Java, .NET and COM+ etc. program languages. It uses advanced techniques to allow efficient asynchronous multithreaded operations.

The download website of HTML Converter command line is http://www.verypdf.com/htmltools/htmltools.zip and you will find the software is a zip file when you just download it in your computer.You should unzip and install it in a suitable location of your computer.

The following contents are the details about converting emf to pdf in the command line.You’d better follow the steps and do it yourself because what you need is trying!

1.Run cmd.exe dialog box by clicking “start”—“run” and input “cmd” in “open” edit box of the popup dialog box,then click “OK” button.You can also take the quick way—using the hot key “Windows”+ “R” to open “Run” dialog box in which you should input “cmd” and click “OK” to the end.Then you will see the cmd.exe dialog box.

2.Input the command line which includes called program,source file and target file in cmd.exe dialog box referring to the basic command line below.

htmltools.exe “input.emf” [output.pdf]

where

(1)htmltools.exe  stands for the called program.It is the executable file in HTML Converter Command Line and you can see it in the installation folder.

(2)“input.emf”   stands for the source file which needs to be converted.

(3)[output.pdf]  stands for the target file.The bracket means the parameter is optional.You can set it or not.Because when you convert any formats which are supported by HTML Converter command line to pdf file,the software will convert the source file to pdf file automatically if you don’t set any information about the target file.

The following example will be a good interpreter to the template above.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" "C:\Documents and Settings\admin\Desktop\New Folder\test0001.emf" test.pdf

where

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  is the path of htmltools.exe.If the path is too long to input,you can drag the file from its folder into cmd.exe dialog box for saving time and energy.

"C:\Documents and Settings\admin\Desktop\New Folder\test0001.emf"   is the path of source file which can also be dragged into cmd.exe dialog box.

test.pdf  is the name of target file.

3.After clicking “Enter” button on your keyboard,the conversion will run itself and you will get the target file in current directory if you don’t specify the path for the target file.

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 HTML Converter (htmltools) 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!