In this article,you will see how to rotate the page when convertingin a command line with the command-line application of VeryPDF HTML Converter--HTML Converter Command Line.The advantage of HTML Converter Command Line are as follows:
- It will save a lot of operating time for you because you don’t need to open a GUI.
- The conversion platform cmd.exe program in which you can input the command line doesn’t require a high level computer configuration.
- It will be more convenient when you do the batch conversion.
So you can download HTML Converter Command Line by click on the link http://www.verypdf.com/htmltools/htmltools.zip and follow the steps below to convert format file and rotate the page by yourself.You will be very happy at the moment when you master the method.
The first step
You should run cmd.exe program by the following two ways.
(1) Click “start” at the left bottom of the desktop and click “run” in the pop up menu list.Then input “cmd” in “open” edit box of the dialog box and click “OK” button.
(2) Press “Windows”+ “R” at the same time and input “cmd” in “open” edit box of “Run” dialog box.After clicking “OK”,you will see the cmd.exe dialog box pop up.
The second step
If you have never come into contact with command line before,this article will be your teacher.You should remember there are three necessary elements in the command line about converting,they are called program,source file and target file.You can add the parameter to change the source file or target file such as rotating page needed here.The called program in the conversion of emf to tga is htmltools.exe which is the executable file in HTML Converter Command Line.The source file is the one needs to be converted.The target file is the one you want to get.You can see the following command line structure which can help you understand the command line better.
htmltools.exe –rotate value<int> “input.emf” output.tga
The following example is the application of the structure and we can analyse it together.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 180 "C:\Documents and Settings\admin\Desktop\New Folder\test0001.emf" test.tga
(1)"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of called program—htmltools.exe.You’d better drag the file into cmd.exe dialog box to avoid the mistake when input the long path.
(2)-rotate 180 is the rotation angle of source file.You can set the value as 90,180 and 270.The source file will rotate by the value you set clockwise.
(3)"C:\Documents and Settings\admin\Desktop\New Folder\test0001.emf" is the path of source file which can also be dragged into cmd.exe dialog box.
(4)test.tga is the name of target file.You can specify the path for the target file here to save it in the location you like such as “C:\Documents and Settings\admin\Desktop\New Folder\test.tga”
The last step
Just find your target file in the specified or the default directory(current directory) marks the end of the conversion of emf to tga.If you are interested in HTML Converter Command Line,please visit http://www.verypdf.com/htmltools/index.html to see its introduction.