How to set the page width while converting emf to pdf?

Some people don’t know how to set the page width when converting emf to pdf file.This article will tell you how to resolve this problem in a command line.

Someone will say the command line is very hard and boring,why take it to convert emf to pdf?Actually,the command line only contain three parts:called program,source file and target file.Called program is the software you need,source file is emf format file in this conversion,while target file is the one you want to get—pdf file which you can set many parameters by yourself in command line such as page width,etc.

The software you should use in the conversion of emf to pdf is HTML Converter command line which can be downloaded at https://www.verypdf.com/htmltools/htmltools.zip. You can read the introduction of HTML Converter command line at https://www.verypdf.com/htmltools/index.html.

HTML Converter command line 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 converting steps are very important which you should master.

Step1.Launch cmd.exe program

There are two ways to run cmd.exe.

Method1.Click “start”—“run”.Then you can see a new dialog.Please input “cmd” in “open” edit box and click “OK” button.

Method2.The hot key “Windows”+ “R” can do,too.

Step2.Type command line

The command line should be like this:

“htmltools.exe” –width value input.emf output.pdf

htmltools.exe is the called program.

-width value stands for the page width of pdf file.

input.emf is the source file.

output.pdf is the target file.

Please see the example below:

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -width 50 "C:\Program Files\docPrint Pro v5.0\blank.emf" blank.pdf

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  is the path of htmltools.exe.You can copy the path and right click your mouse in cmd.exe,which means “paste”.You can also drag the file into cmd.exe dialog box.

-width 50  is the page width of pdf file,which you can set as your need.

"C:\Program Files\docPrint Pro v5.0\blank.emf"  is the path of source file.Of course you can drag it into cmd.exe dialog.

blank.pdf  is the name of target file.You can not define it as well and the source file will be converted to pdf file by default.

Step3.Find your target file.

You will see your target file in current directory.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Random 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!