How to set both the page width and height while converting rtf to pdf?

1.What is RTF file?

RTF is short for Rich Text Format.Documents are saved as RTF files so that you can save the text into almost all versions of any word processor and on any computer operating system. They are provided so that you can then make changes to the document content if you want to.

2.Why convert rtf to pdf?

RTF files can be modified,copied freely which goes against the protecting of contents.PDF files can protect your document by encrypting the file with code of 64-bit and 128-bit.Then you can browse the pdf file without freely changing the contents except the situation that you have the code.

3.What is converting tool?

You can use the software HTML Converter Command Line to convert rtf to pdf file and set the parameters of pdf file such as width,height,producer,author and so on.

HTML Converter Command Line is a powerful HTML conversion product. 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.

The download link of HTML Converter Command Line is The software is a zip file and needs to be unzipped before using.

4.How to set both the page width and height when converting rtf to pdf?

The steps are very easy to master,please go on reading the article.

1.Run cmd.exe program by clicking “start”—“run” and input “cmd” in “open” edit box,then clicking “OK” button.Or press “Windows”+ “R” at the same time on the keyboard.

2.In popup cmd.exe dialog box,you should input command line which contains called program,parameters,source file and target file.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -width 10 -height 20 "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"   is the path of called program—htmltools.exe.It is the executable file in HTML Converter Command Line,also the most important role in the conversion of rtf to pdf.

-width 10 -height 20   are the values of width and height of target file.The value can be set as your will.

"C:\Documents and Settings\admin\Desktop\as long as you love me.rtf"  is the source file.

NOTE:You can see the paths of called program and source file are too long to input.So you can drag the file you need into cmd.exe dialog box directly.

01.pdf  is the name of target file.

Then we can get a basic structure of the command line as:

htmltools.exe –width value –height value “” output.pdf

You can input the command line refer to the above one.

3.The target file will be created in a few seconds and can be found in some location of your computer.

Please try to convert rtf to pdf file with HTML Converter Command Line and you will love the process of it.

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

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!