Convert RTF to PDF and set page margin

You are able to convert the document of rtf to pdf file and set page margin for the created PDF document at the same time if you can choose the command line application Metafile to PDF Converter Command Line as your tool. It supports to convert metafile to PDF documents with high quality because it can preserve the text or vector information of the original file in the conversion process.

By using Metafile to PDF Converter Command Line, you can finish the conversion from rtf to pdf within three steps in a short while. You just need to open the MS-DOS interface for inputting the command line and then run the conversion. Before knowing how it works, you should download Metafile to PDF Converter Command Line at https://www.verypdf.com/tif2pdf/image2pdf_emf2pdf_cmd.zip and unpack the ZIP file to your computer.

Metafile to PDF Converter Command Line also supplies two kinds of licenses for different users with different purposes. When you need run the application on a server, you can buy the server license. If you need to redistribute the command line application to your developed applications, you can buy the developer license.

The steps for converting rtf to pdf are as follows:

The first step is to open MS-DOS interface and you can use one of the following ways: One is to click “Start”—“Run” to open “Run” dialog box in which you can input “cmd” or “CMD” in “Open” combo box. Then please click “OK” button. The other one is to use the hot key “Window”+ “R” to open “Run” dialog and then do the same work next.

The second step is to input the command line in MS-DOS interface. Please refer to the following command line template which contains called program, parameter for setting page margin, source file and target file into MS-DOS interface.

emf2pdf.exe -margin 100x100x100x100 C:\A.rtf C:\B.pdf

When you write your own command line, you need to use the path of each file in the commands just like the following example.

"C:\Program Files\image2pdf_emf2pdf_cmd3.2\emf2pdf.exe" -margin 100x100x100x100 "C:\Documents and Settings\admin\Desktop\demo\rtf\as long as you love me.rtf" C:output.pdf

In this command line,

"C:\Program Files\image2pdf_emf2pdf_cmd3.2\emf2pdf.exe" is the path of the called program which is the executable file in unpacked package—emf2pdf.exe. If you don’t want to input a long path, you can drag the file into the command line window directly.

-margin 100x100x100x100 sets margin to 100pt to left,top,right,bottom.

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

C:output.pdf is the path of target file.

To set page margin, you can also use the following commands:

-margin 10          : Set margin to 10pt to left
-margin 10x10       : Set margin to 10pt to left,top
-margin 10x10x10    : Set margin to 10pt to left,top,right

When you finish in inputting the command line into MS-DOS interface, please click “Enter” button to run the conversion from rtf to pdf. To learn more information about the application, please click the link: https://www.verypdf.com/app/metafile-to-pdf-converter/index.html.

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!