In the modern society,you should study everything ceaselessly or you will be caught up with others or be out.You may find that when you master a new skill or a new technology,it will be a happy and contented thing.In this article,you will be happy and contented again because you will know how to rotate the page while convertingformat file,which will be a useful skill in your later work.In essence,it will be two kinds of skills—using the software HTML Converter Command Line and getting access to command line.
HTML Converter Command Line
HTML Converter Command Line is a powerful HTML conversion software which 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.You can call HTML Converter Command Line from within ASP, VB, VC, Delphi, BCB, Java, .NET and COM+ etc. program languages. It uses advanced techniques to allow efficient asynchronous multithreaded operations.
The download website of HTML Converter Command Line is http://www.verypdf.com/htmltools/htmltools.zip. Just to unzip the software in your computer to use it.
Rotate the page when convertingin a command line
Please don’t be fear of command line.Actually,it is a very useful way for doing many kinds of work such as the conversion.The command line often contains called program,source file and target file.If you want to add more functions in the command line,you can set the parameter between called program and source file.The following basic structure will help you to understand the command line better.
htmltools.exe –rotate value www.verypdf.com output.ps
htmltools.exe is the called program in the conversion of.It is the executable file in HTML Converter Command Line.
–rotate value is the parameter about rotating page function which is set by yourself.
www.verypdf.com is the URL of some webpage which needs to be converted.You can see it as the source file.
You can see the location of the parameter which is between called program and source file.Remember to add space before and behind the parameter.
output.ps is the target file which you want to get.You should ensure the name and extension name of it.If there’s nothing about the target file in command line,the source file will be converted to pdf file by default.
The following command line example is the application of the basic structure.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 90 www.verypdf.com verypdf.ps
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe.You can copy its path and right click your mouse in cmd.exe dialog box,which means “paste” or drag the 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.
www.verypdf.com is the URL of webpage.
verypdf.ps is the name of target file.
Then the target file can be found in current directory and you can browse it by many kinds of software such as Photoshop,IrfanView,GSview,etc.
So rotating the page when converting url to ps is not hard,isn’t? You can read more articles about HTML Converter Command Line at http://www.verypdf.com/wordpress/.