It is an easy conversion process by using the command line application to rotate the page when converting.Maybe you don’t like the command line application due to the complicated DOS commands and the boring interface.But it is really very convenient because you don’t need to open a GUI.And especially the converting platform taken by command line application—cmd.exe program doesn’t call for a high computer configuration.So if necessary,you can try to learn it to add something new in your knowledge bank.
The command line application you can choose here is 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.It must be a good assistant in your office work.So just download HTML Converter Command Line at http://www.verypdf.com/htmltools/htmltools.zip and unzip it to some suitable location in your computer for further using.
The following part’s contents are the steps to rotate the page when converting.Please go on reading.
1.Open the converting platform 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 open it by using the hot key “Windows” + “R”.
2.Input command line in cmd.exe prompt dialog box.Actually,the command line is not harder than you think.It only contains four parts which are called program,parameter,source file and target file.The following command line structure is the conclusion to this sentence.
htmltools.exe –rotate<int> “input.emf” output.pnm
Here is an application to the structure,an example for your better understanding.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 180 "C:\Documents and Settings\admin\Desktop\New Folder\test0001.emf" “C:\Documents and Settings\admin\Desktop\New Folder\test.pnm”
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" stands for the path of called program—htmltools.exe which is the executable file in HTML Converter Command Line.If you don’t like to input a so long path,you can copy the path and right click your mouse in cmd.exe dialog box,which means “paste” to paste the copy.The simplest way is to drag the file into cmd.exe dialog box directly.
-rotate 180 is the rotation angle of source file.You can set the int value as 90,180 and 270.
"C:\Documents and Settings\admin\Desktop\New Folder\test0001.emf" is the path of source file.So if you want to call some file in cmd.exe prompt dialog box,you can find the file and drag it into the dialog.
“C:\Documents and Settings\admin\Desktop\New Folder\test.pnm” stands for the path and name of the target file.Of course you can change the path to anywhere in your computer with any name.
3.In about 2 seconds,you will find your target file in the location C:\Documents and Settings\admin\Desktop\New Folder,which marks the end of the conversion of emf to pnm.
There are many other articles about HTML Converter Command Line,welcome to visit http://www.verypdf.com/wordpress/ and leave message.