Convert WMF to PDF and set page margin

When you want to convert wmf to pdf and set page margin to the target file, you may think about what application you should use as your tool and which conversion method will be the most convenient and fast. These two questions will be solved in this article and you will get some new information about a new application.

The application you should take

There is a command line application named as Metafile to PDF Converter Command Line. It can convert the metafile to PDF documents, of course including wmf to pdf. At the same time, you can also use the application to set parameters for the target file. You can download the free trial version of Metafile to PDF Converter Command Line at and unpack it to your computer. Then you can call the executable file emf2pdf.exe in MS-DOS command prompt window.

Metafile to PDF Converter Command Line is mainly designed for server users and software developers. When you need the server license, you can buy it via clicking here and when you need the developer license, you can buy it via clicking here.

The conversion method you should use

Firstly, please open MS-DOS command prompt window. You can click “Start”—“Run” or use the hot key “Window”+ “R” to open “Run” dialog box. Then you should input “cmd” or “CMD” in “Open” combo box and click “OK” button. You will see the prompt window pop up on the screen.

Secondly, you need to input the commands into command prompt window. The command line is a combination of called program, parameter for setting page margin, source file and target file just like the following sample.

emf2pdf.exe -margin 100x100 D:\1.wmf D:\2.pdf

You can get the specific example which is the application of the sample below.

"C:\Program Files\image2pdf_emf2pdf_cmd3.2\emf2pdf.exe" -margin 100x100 "D:\1.wmf" D:\2.pdf

In the command line example,

"C:\Program Files\image2pdf_emf2pdf_cmd3.2\emf2pdf.exe" is the path of the called program.

-margin 100x100 specifies the page margin to to 100 point to left,top.

You can also use the other kind of parameters to set page margin:

-margin 10 : Set margin to 10pt to left

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

-margin 10x10x10x10 : Set margin to 10pt to left,top,right,bottom

"D:\1.wmf" stands for the path of source file.

D:\2.pdf stands for the path of target file.

Lastly, please click on “Enter” button to run the conversion from wmf to pdf.

If you want to know more information about Metafile to PDF Converter Command Line, please enter the homepage at

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!