How to set paper size during printing URL/HTML/MHTML

This article is about how to use VeryDOC HTMLPrint Command Line to print URL/HTML/MHTML and set paper size in one process with command line on Windows platforms.

When you want to print HTML/URL/MHTML and set relevant properties flexibly and professionally, VeryDOC HTMLPrint Command Line can help you with that very conveniently through commands and supported parameters. This application could also be used in various program languages, e.g., Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc.. To know more about this application, welcome to visit homepage of VeryDOC HTMLPrint Command Line.

To know how to realize printing HTML/URL/MHTML and set paper size with this software, it is convenient to continue to read this article:

1. Download

Firstly, you need to download trial package of this application:

Download VeryDOC HTMLPrint Command Line

Then, please open downloaded package and extract its content to your computer directly so that trial version of this application could be applied in later conversion of yours.

2. Open command prompt window

Command prompt window is elementary environment of commands in Windows systems, so it is essential to open it on screen:

Click hotkey Windows + R > type cmd.exe in dialog box > click ok, then it can be popped on screen directly, where you can continue to type commands.

3. Print HTML/URL/MHTML and set paper size

After command prompt is opened, you can refer to following examples to input commands and parameters to set paper size during printing HTML/URL/MHTML with commands:

htmlprint.exe -printer docPrint –paper “215.9x279.4mm” https://www.verydoc.com

htmlprint.exe -printer docPrint –paper “612x792pt” C:\printer.htm

  • htmlprint.exe is to call executive file “htmlprint.exe” which is to use this command application for conversion later
  • -printer docPrint is to call virtual printer “docPrint” (it is one of our products, and to know more about it, please go to homepage of Document Converter)
  • –paper “215.9x279.4mm” is to set specific paper size through mm
  • https://www.verydoc.com
  • –paper “612x792pt” is to set specific paper size through pt
  • C:\printer.htm is to specify web page file for source file

where:

-paper <string>: set paper size to printer

  • number: standard paper size
  • others: user defined paper size

After you follow steps above to print HTML/URL/MHTML with specific paper size, you can get processing window, and when it disappears, due to selected printer, e.g., docPrint printer, program can provide you with a dialog box, then, you can save targeting files flexibly. Also paper size set just now could work. As you can see, here is description about how to use VeryDOC HTMLPrint Command Line to print HTML/URL/MHTML with specific paper size. To know more articles about this application, please keep visiting here.

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!