This article would like to describe how to use VeryDOC HTML Converter to convert EMF/HTML to PDF and split EMF/HTML on Windows platforms.
VeryDOC HTML Converter allows you to convert EMF, WMF, RTF, HTM, HTML, etc. to PDF file and other image files singly or in batches through GUI interface or command line, thus, both GUI users and commands users could find proper ways to produce PDF files or image files from supported source files in Windows systems. Here is freely trial entrance of this software below:
If you would like to get each of trial versions of GUI and CMD, please feel free to download it from above. Then, if you would like to know how to use CMD version to convert EMF/HTML file to PDF file and split EMF/HTML, please see the followings:
1. Open command prompt window
Command prompt window is running environment of commands, so, you need to open it through:
Click hotkey Windows + R, then dialog box Run could be opened directly, and then, please input cmd.exe and click ok there so that it could be popped on screen automatically, and you can continue to type commands and parameter for your own conversion due to your requirement.
2. Understand usage of VeryDOC HTML Converter
htmltools.exe [options] <EMF-WMF-HTML-URL-RTF-file> [<PDF-PS-Image-file>]
where:
-
htmltools.exe: call executive file “htmltools.exe” in order to use this application
-
[options]: optionally help you set properties of targeting files due to your requirement
-
<EMF-WMF-HTML-URL-RTF-file>: specify input file
-
[<PDF-PS-Image-file>]: specify output file
3. Convert EMF/HTML file to PDF file and split EMF/HTML
After you know usage of this software, please refer to following examples to type your own commands and accomplish conversion:
htmltools.exe –forcesplitemf C:\in.emf C:\out.pdf
htmltools.exe –emfheight 200 C:\in.emf C:\out.pdf
htmltools.exe –pageheight 500 C:\in.html C:\out.pdf
htmltools.exe –pageh 458 C:\in.html C:\out.pdf
htmltools.exe –breakpagebytext “break page at here” C:\in.html C:\out.pdf
Where parameters:
- -forcesplitemf: Force split EMF file by emfheight
- -emfheight <int>: Split a long EMF file by this height
- -pageheight <int>: Split a long HTML page by page height, same as -emfheight
- -pageh <int>: same as –pageheight
- -breakpagebytext <string>: Split a long HTML page by string
Where directories:
- htmltools.exe is to call executive file “htmltools.exe”
- ….emf/html is to specify input file
- ….pdf is to specify export file
After you finish typing commands and parameters like above, you can use VeryDOC HTML Converter to convert EMF/HTML file to PDF file and split EMF/HTML directly. Then, you can find your targeting PDF files could be added into targeting folder directly in your computer, which are split very exactly.
To know more GUI method to use VeryDOC HTML Converter to process relevant tasks, please visit here frequently. Thank you for reading this article which is about how to split EMF/HTML file to PDF file through commands and parameters!