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



The process in Figure1 can tell you how to set both page width and height when you convert emf to pdf with the help of HTML Converter Command Line,a software which 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. HTML Converter Command Line also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.

You can call HTML Converter Command Line from within ASP, VB, VC, Delphi, BCB, Java, .NET and COM+ etc. program languages. It uses advanced techniques to allow efficient asynchronous multithreaded operations.

If you want to download HTML Converter Command Line,please visit You can read the main introductions about HTML Converter Command Line at and know more functions by reading the user manual at

The whole commands to convert emf to pdf file in the second dialog are

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -width 15 -height 30 "C:\Program Files\docPrint Pro v5.0\blank.emf" "C:\Documents and Settings\admin\Desktop\New Folder1.pdf"

The command line seems complex but easy enough.It contains called program,parameters,source file and target file.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  is the path of called program—htmltools.exe which is the executable file in HTML Converter Command Line.You can see the file in the installation folder when you install the software in your computer.The path seems a little scary because it is a little long.So you can copy it and right click your mouse in cmd.exe dialog box,which means paste to save your time.The best way is dragging the file into cmd.exe dialog like arrow1.

-width 15 -height 30  are the parameters about width and height.All the values can be set freely.

"C:\Program Files\docPrint Pro v5.0\blank.emf"  is the path of source file.

"C:\Documents and Settings\admin\Desktop\New Folder1.pdf" stands for the directory and the name of target file.

You can not specify the directory of target file and the file will be saved in current directory.You can not name the target file because HTML Converter Command Line will convert the source file to pdf file automatically.

Then you can find the target file after the conversion of emf to pdf in the folder C:\Documents and Settings\admin\Desktop\New Folder.Please see arrow2 in Figure1.

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!