How to set both the page width and height while converting wmf to pdf?

Please download the software HTML Converter Command Line at the website http://www.verypdf.com/htmltools/htmltools.zip and follow this article to convert wmf to pdf in three steps.

Step1.Have cmd.exe program launched

Please click start menu and click “run” to open “Run” dialog box.Then input “cmd” in “open” edit box and click “OK” button.You can also use the hot key “Windows”+ “R” to meet the same goal.Next you should change the current directory to installation directory of HTML Converter Command Line with the command “cd” which means change directory.The command should like this:cd C:\Documents and Settings\admin\Local Settings\Temp\htmltools, end with “Enter” button.This is just for registering HTML Converter Command Line to use all the functions without any limitations.Then input the register code and click “Enter” on the keyboard.You’d better not close cmd.exe dialog box because you need to input command line next.

Step2.Input command line

There is a main structure of the command line to convert wmf to pdf.Please look at the one below:

htmltools.exe –width value –height value “input.wmf” output.pdf

htmltools.exe is the executable file in HTML Converter Command Line.If you can install it in your computer,you will see the file in the folder.It is the called program of the conversion of wmf to pdf,also plays the most important role in the conversion.

–width value –height value  are the values of width and height.

“input.wmf”  stands for the source file.

output.pdf  stands for the target pdf file.

If you don’t understand the command line above,please see the example below and you will be clearer about it.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -width 10 -height 20 "C:\Documents and Settings\admin\Desktop\New Folder (2)\AN00853_.WMF" 01.pdf

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  means the path of htmltools.exe.The path seems a little long and you can drag the file into cmd.exe dialog if you don’t want to input the path.

-width 10 -height 20 are the values of width and height of target pdf file,which you can set freely.

"C:\Documents and Settings\admin\Desktop\New Folder (2)\AN00853_.WMF"  is the path of wmf file,also the source file.

01.pdf  is the name of target file.

NOTE:You can specify the directory for target file.If not,it will be saved in current directory.

Step3.Find the pdf file

Your pdf file can be found in current directory because you didn’t set the path for the file in command line.

Someone will ask why choose HTML Converter Command Line as the tool to convert wmf to pdf file?Because it is an wonderful 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. HTML Converter Command Line also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.

There are more articles about HTML Converter Command Line at

http://www.verypdf.com/wordpress/ for your reading.

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

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!