How to rotate the page while converting url to tiff?

If one day you receive a task about rotating the page when you convert url to tiff,you may be afraid of it because you have never done a such kind of work.Maybe your boss will give you some reward if you can fulfill this task for him.But you have no idea about the tool to be used and the method to be taken.If it is an urgent task,what will you do?Don’t worry,this article will tell you the tool and the method used in the conversion of url to tiff.

The tool

If you have never heard of a software called HTML Converter Command Line,here will be some introduction about it for you.HTML Converter Command Line is a powerful HTML conversion product 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.HTML Converter command line application can be called from within ASP, VB, VC, Delphi, BCB, Java, .NET and COM+ etc. program languages. It uses advanced techniques to allow efficient asynchronous multithreaded operations. If you have downloaded HTML Converter Command Line at http://www.verypdf.com/htmltools/htmltools.zip, please register the software in cmd.exe dialog box to make all the functions available.The registering steps are as follows:

1.Run cmd.exe dialog box by clicking “start”—“run” and inputting “cmd” in “open” edit box,then clicking “OK” button or press “Windows”+ “R” to realize the same goal.

2.Change the current directory to the installation directory of HTML Converter Command Line by inputting DOS command “cd” which means change directory.

3.Input the register code which you get when purchasing HTML Converter Command Line online and end with “Enter” button on the keyboard.

If you don’t want the conversion of url to tiff running under current directory,you can also change the path by “cd” to any directory you like.

The method

The conversion method is supposed of three parts—run cmd.exe program,input command line and find the target file.

1.Run cmd.exe

You’d better not close cmd.exe dialog box which is opened just now or you need to open it again according to the way mentioned in registering steps.

2.Input command line

The command line includes called program,parameter,source file and target file.You can see the following example.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 180 www.verypdf.com verypdf.tiff

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  is the path of called program—htmltools.exe which is the executable file in HTML Converter Command.If you install the software in your computer,you will see the file in the installation folder.

-rotate 180  is the setting about rotating page.It means the source file will rotate 180° clockwise.

www.verypdf.com  is the URL of some webpage which can be seen as source file.

verypdf.tiff  is the name of target file.Please don’t forget the suffix .tiff.

NOTE:The path of htmltools.exe is too long to input.There are some other ways to save your time.One is to copy the file path and right click your mouse in cmd.exe dialog box,which means “paste”.Or you can drag the file into cmd.exe dialog directly.

Then we can get a conclusion about the structure of the command line like the one below:

htmltool.exe –rotate value(90,180,270) www.verypdf.com output.tiff

You can write your command line according to the structure and change some elements such as the URL,the name and directory of target file and so on.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in HTML Converter (htmltools) and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!