This will be a big problem if you don’t have HTML Converter Command Line in your computer.HTML Converter Command Line is a command line application which can be called in cmd.exe program.It supports you to input DOS commands to rotate the page when converting http://www.verypdf.com/htmltools/htmltools.zip, you should unzip it to a location you like in your computer for further using..HTML Converter Command Line is a powerful HTML conversion product. It 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.But after downloading the software at
There are three steps required in rotating the page when convertingformat file.
Step1.Run cmd.exe program
This is the start of the conversion of.You can take the regular way or the quick way to launch cmd.exe program.The regular way is to click “start” button at the left bottom of the desktop,then click “run” in the popup menu to open “Run” dialog.Input “cmd” in “open” edit box and click “OK” button.The quick way is to use the hot key “Windows”+ “R” combination to open “Run ” dialog box,then do the same work next.
Step2.Input command line
After popping up the cmd.exe dialog box on the interface of your computer,you can input the command line.It’s ok to convert any wmf format file in any location of your computer to bmp format with any name and storing in any location.A simple command line which contains called program,parameter,source file and target file will do all of this for you.Please look at the following basic structure of the command line in conversion of wmf to bmp.
htmltools.exe –rotate value “input.wmf” output.bmp
htmltools.exe stands for the called program which locates in installation folder of HTML Converter Command Line.It is also the executable file in HTML Converter Command Line.–rotate value is the rotation angle setting to the source file.“input.wmf” stands for the source file and output.bmp stands for the target file.The following example will explain the structure further.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 180 "C:\Documents and Settings\admin\Desktop\wmf\AN00853_.WMF" test.bmp
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe.If you input the path in cmd.exe dialog box,you’d better enclose the path with double quotes.Because when the system check the file path,it will see the path before a space as one path and the left one after the space as another one,then the program will be on an error.But this kind of case will be avoid because the file will turn to file path enclosed in double quotes when being dragged into cmd.exe dialog box.There is also another way to input the path.You can copy the path of the file in its folder and right click your mouse in cmd.exe dialog box,which means pasting the copied contents.
-rotate 180 means the page rotation angle is set as 180°.90 and 270 are also available.
"C:\Documents and Settings\admin\Desktop\wmf\AN00853_.WMF" is the path of source file.
test.bmp is the name of target file.You can set the directory for the target file as any location in your computer here.Of course,you can not do that like this example.
Step3.Find the target file.
The target file will be saved in current directory.You can find it,which marks the end of the conversion of wmf to bmp format file.