For the purpose of converting the file ofdocument with high quality by command line, you can use Metafile to PDF Converter Command Line as your helper which can preserve the vector and text information for the original files when converting EMF or RTF files to PDF documents. Then sizes of the output PDF documents are small and you can print them at high resolutions.
This command line supplies two kinds of authentications—server license and developer license. If you need to run the application on your sever, you should buy the sever license. If you need to redistribute this application in your developed application, you can buy the developer license. For free experiencing the application, you can download the trial version of it at http://www.verypdf.com/tif2pdf/image2pdf_emf2pdf_cmd.zip. Just extract the package to your computer, then you will be able to use it.
For Metafile to PDF Converter Command Line is a MS-DOS oriented application, you should open MS-DOS interface before running it for inputting the command line which can help you convertdocument. In the following contents, you will see the detailed contents about converting with Metafile to PDF Converter Command Line.
The first step is opening MS-DOS interface with one of the following given ways: (1) You can click “Start”—“Run” to open “Run” dialog box and input “cmd” or “CMD” in “Open” combo box. Then please click “OK” button. (2) You can also use the hot key “Window”+ “R” to open “Run” dialog box and then do the same work.
The second step is for inputting command line into MS-DOS interface. The command line includes called program which is the application Metafile to PDF Converter Command Line to be called in this interface, source file which is the EMF file you want to convert and the target file which is the PDF document which you want to get.
Please see the following command line sample.
emf2pdf.exe C:\in.emf C:\out.pdf
In this sample, emf2pdf.exe stands for the command line application, C:\in.emf stands for the source file and C:\out.pdf stands for target file.
For better applying the command line sample, you should write your own one. Please see the following example.
"C:\Program Files\image2pdf_emf2pdf_cmd3.2\emf2pdf.exe" "C:\Documents and Settings\admin\Desktop\demo\emf\test0001.emf" C:\test0001.pdf
In the command line,
(1) "C:\Program Files\image2pdf_emf2pdf_cmd3.2\emf2pdf.exe" is the path of the executable file of the command line application.
(2) "C:\Documents and Settings\admin\Desktop\demo\emf\test0001.emf" is the path of source file.
(3) C:\test0001.pdf is the path of target file.
If you don’t want to input a long path into MS-DOS interface, you can drag it from its folder to the command line window directly.
The last step is running the conversion from emf to pdf by clicking “Enter” button on the keyboard. Then you will be able to get the target file in the location you have specified in the command line. For entering the homepage of the application, please click the following link: http://www.verypdf.com/app/metafile-to-pdf-converter/index.html.