There are only three steps to convertformat if you use the software HTML Converter Command Line.You can depend on it and it must be an excellent helper in your work.
HTML Converter Command Line 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. 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.
Please don’t doubt about the ability of HTML Converter Command Line.You can set many parameters when you convertformat with HTML Converter Command Line such as width and height,resolution,rotation and so on.But you may not want to use command line application.What you need is just trying one time and you will do benefit from the command line because it only contains called program,parameters,source file and target file.
The following contents will show you the steps to convertformat.
Step1.Launch cmd.exe program
There are two methods to open cmd.exe dialog box.
Method1.Click “start”—“run”.You will see a popup dialog and please input “cmd” in “open” edit box,then click “OK” button.
Method2.The hot key “Windows”+ “R” will also help you.
Step2.Input DOS commands
As the above contents mentioned,the command line needs called program,parameters,source file and target file.You can see the command line structure about converting html to ps.
htmltools.exe –bwidth value –bheight value “www.verypdf.com” output.ps
htmltools.exe is the called program.After installing HTML Converter Command Line,you will see it in the installation folder.When you type the command line in cmd.exe,you can drag htmltools.exe from its folder to cmd.exe dialog box.
–bwidth value –bheight value is the parameter about width and height of web browser.The value can be set according to your needs.
“www.verypdf.com” can be seen as source file.When you run the conversion,htmltools.exe will search for the information on the webpage and download them to convert to ps format.
output.ps is target file.You can specify the directory for target file here.If not,the file will be saved in current directory by default.
You can write the following command line refer to the structure above.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -bwidth 30 -bheight 40 "www.verypdf.com" verypdf.ps
Step3.Find the target file
Just find your target file in the location of your computer.
It’s very easy to set width and height of web browser when you convert html to ps format with HTML Converter Command Line,isn’t it?