When you want to rotate the page when converting http://www.verypdf.com/htmltools/htmltools.zip and you should unzip the file to your computer for further using.If you don’t want some functions disabled when you use HTML Converter Command Line,you should register the software in cmd.exe dialog box first.The register steps are as follows:,you can choose the software HTML Converter Command Line which is a powerful HTML conversion software. 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. HTML Converter Command Line also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.Please download HTML Converter Command Line at
1.Run cmd.exe program by clicking “start”—“run” and input “cmd” in “open” edit box of the popup dialog box.Then click “OK” button.You can also use another way to launch cmd.exe program,which is a quick way.Please press “Windows”+ “R” on your keyboard at the same time to open “Run” dialog box and input “cmd” in “open” edit box,end with “OK”.
2.Change the current directory to the installation directory of HTML Converter Command Line by DOS command “cd” which means change the directory.Input “cd” and add a space then input the installation directory.If the directory is too long to input,you can copy it in the folder and right click your mouse in cmd.exe dialog box,which means “paste”,then click “Enter” on the keyboard.Then you will see the current directory has turned to the installation directory of HTML Converter Command Line.
3.Input register code in cmd.exe dialog box and press “Enter” button to end the register.
Then you can rotate the page when convertingformat file.
In fact,you can ignore this step if you didn’t close the cmd.exe dialog opened just now.Or you should follow the ways mentioned above to open it again.
Step2.Input command line
The command line contains three necessary elements which are called program,source file and target file.If you need to set the parameter of source file and target file,you can write the command between called program and source file.For example,you can use –rotate value to rotate the page,-xres value or –yres value to change the horizontal or vertical resolution of image,-width value and –height value to change the width or height of image.So there is a basic template command line in the conversion of wmf to pcx for your reference.
htmltools.exe –rotate value “input.wmf” output.pcx
htmltools.exe is the called program.
–rotate value is the setting about page rotation angle.
“input.wmf” stands for the source file.
output.pcx stands for the target file.
There is an example to explain the command line template.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 90 "C:\Documents and Settings\admin\Desktop\wmf\AN00932_.WMF" test.pcx
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe.To save your precise time,you can drag the executable file into cmd.exe dialog box.
-rotate 90 is the rotation angle of source file.The value can be set as 90,180 and 270.
"C:\Documents and Settings\admin\Desktop\wmf\AN00932_.WMF" is the path of source file.
test.pcx is the file name and suffix of target file,which should be set by yourself.
Step3.Find the target file.
If you didn’t specify the path for the target file like the example shows above,you should find the target file in current directory.If you have set the path in command line,you can find the file in the specified location.
NOTE:If you don’t give the name to target file in command line,the source file will be saved as pdf file and located in current directory holding the same file name with source file.