How to set the page height while converting rtf to pdf?

image

                                                                        Figure1.

Please see the first dialog in Figure1.It shows the software used in the conversion of rtf to pdf--HTML Converter Command Line.It 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. HTML Converter Command Line also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.You can download HTML Converter Command Line from the website http://www.verypdf.com/htmltools/htmltools.zip and get the main introduction at http://www.verypdf.com/htmltools/index.html. You can also read the user manual at http://www.verypdf.com/htmltools/htmltools-manual.htm. After installing HTML Converter Command Line,you will see the executable file—htmltools.exe in the folder.Please pay attention,it plays the most important role in the conversion of rtf to pdf.

If you want to use HTML Converter Command Line without any limitations,you should register it under the installation directory of HTML Converter Command Line with the register code in cmd.exe dialog box.

The second dialog can teach you how to set the page height when you convert rtf to pdf file.You can see the DOS commands in the cmd.exe dialog box.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -height 30 "C:\Documents and Settings\admin\Desktop\as long as you love me.rtf" 01.pdf

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  stands for the directory of htmltools.exe.You can drag htmltools.exe from its folder to the dialog directly and the file will turn to path itself.

-height 30 stands for the value of page height which you can set according to your need.

"C:\Documents and Settings\admin\Desktop\as long as you love me.rtf" is also the path of source file.You can input or copy the path in cmd.exe dialog box,of course the file can be dragged.

01.pdf  is the name of target file.

There are called program,source file and target file in the command line.

So we can get a conclusion about the structure of the command line in the conversion of rtf to pdf.

“htmltools.exe” –height value “input.rtf” output.pdf

If you don’t know how to open cmd.exe dialog box,you can click “start”—“run” and input “cmd” in the popup dialog box and click “OK” button.The hot key “Windows”+ “R” will also work.

The third dialog can lead you to find your target file.If you don’t specify the directory of target file,you will find the file in current directory like the third dialog.If not,you can set a suitable location for your file in the computer for conveniently browsing and operating.

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!