Sometimes you can rotate the image as the commonly used angle 90°,180° or 270° in many kinds of graphics editing software.But one day maybe you want to rotate the page when you convertingfile.How to do and which software will be useful?
The software should be powerful to support such kind of function,so you can choose HTML Converter.There are two kinds of HTML Converter product, one is a graphical user interface (GUI) application and the other is a command-line application. It’s up to you to select which kind to use. Most of users are probably accustomed to editing images one at a time with a GUI with such programs as gimp or Photoshop. However, a GUI is not always convenient. Suppose you want to process an image dynamically from a web script or you want to apply the same operations to many images or repeat a specific operation at different times to the same or different image. In these cases, the command-line image processing utility is appropriate. HTML Converter Command Line 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.The download website is http://www.verypdf.com/htmltools/htmltools.zip.
Step1.Have your cmd.exe dialog box launched
There are two ways to run cmd.exe dialog box.
Method1.Click “start”—“run” and input “cmd” in “open” edit box of the popup dialog box.End with “OK” button.
Method2. “Windows”+ “R” will realize the same function,too.
Step2.Have the command line inputted
You should input the command line according to the following structure.
htmltools.exe –rotate value “input.emf” output.pdf
htmltools.exe stands for the called program,you can see the file in the installation folder of HTML Converter Command Line.
–rotate value is the parameter to rotate the page of pdf file.You can set the value as 90,180 and 270.
“input.emf” stands for the source file.
output.pdf stands for the target file.
The following command line will be a good example to you.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 90 "C:\Program Files\docPrint Pro v5.0\blank.emf" blank.pdf
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe,which can be dragged into cmd.exe dialog box.
-rotate 90 is the value of rotation angle.
"C:\Program Files\docPrint Pro v5.0\blank.emf" is the path of source file,which can be dragged,too.
blank.pdf is the name of target file.You can not define the target file,either.Because htmltools.exe will convert the software to pdf file automatically.
Step3.Have your target file viewed in the location
You can find the target file in current directory and you can view it by some kind of viewer such as Adobe PDF Reader.You can read more articles about HTML Converter Command Line by clicking the link http://www.verypdf.com/wordpress/.