Want to know how to specify printing resolution when printing URL/HTML/MHTML with command line right now? If so, maybe you can refer to following steps to fulfill them in one conversion.
Step1. Download
To accomplish conversion here, you need to have this software – VeryDOC HTMLPrint Command Line in your computer. So if you do not have it, please take steps below to have trial version in your computer:
Step2. Run command prompt window
Please open command prompt window firstly, for it is operating environment of commands. And you can do the followings to open it on screen:
Click hotkey Windows + R so that Run dialog box could be opened directly. Then, you need to type cmd.exe and click ok in pop dialog box, and then, command prompt window pops out automatically. Then, your commands could be typed directly.
Step3. Print HTML/MHTML/URL and specify printing resolution
In command prompt window, you can start to input commands and parameters referring to the following examples:
htmlprint.exe -xres -4 -yres -4 C:\test.htm
htmlprint.exe -xres 600 -yres 600 https://www.verydoc.com
In the examples above, you need to know:
For parameters:
-
-xres <int>: specify the printer x-resolution,
-4: high
-3: medium
-2: low
-1: draft
number: the number of dots per inch (DPI) and is therefore device dependent -
-yres <int>: specify the printer y-resolution
For directories:
- htmlprint.exe is to call executive file “htmlprint.exe” to run software itself
- C:\test.htm is to specify local web page file of HTM for printing
- https://www.verydoc.com is to specify URL for printing
After you type commands and parameters in command prompt window, printing HTML/URL/MHTML and specifying printing resolution could be started, then printer can print targeting files due to resolution set just now.
After description about how to use VeryDOC HTMLPrint Command Line to print HTML/URL/MHTML and specify printing resolution, you can also read other articles about this software and its useful functions besides specifying resolution here with commands and parameters.