VeryDOC HTML Converter enables you to convert web page to PDF/image and watermark PDF/image on Windows platforms.
First of all, please download trial version of this application of command line, for CMD version could help you watermark PDF/image file, other than GUI version:
However, if you would like to download trial version of GUI of this software, welcome to do it, too:
After that, here are details to use CMD of VeryDOC HTML Converter to convert web page file to PDF/image and watermark PDF/image below:
1. Open command prompt window
For it is running environment of command on Windows platforms, it is essential to open it on screen:
Click hotkey Windows + R so that Run dialog box could be opened directly, then please type cmd.exe there and click ok so that it could pop out directly, and then, your own conversion could be processed through it later.
2. Convert web page file to PDF/image and watermark PDF/image
After operating environment is opened, you can start to refer to examples below to process your own conversion:
htmltools.exe -wtext "VeryDOC" "C:\in.html" C:\out.ps
htmltools.exe -wtext "VeryDOC" -wf "Arial" -wc "0000FF" -wtype 1 -wx 100 -wy 100 -wa 45 -wh 20 C:\source.html C:\target.pdf
Where related parameters and the ones you may need to use mean:
- -wtext <string>: watermark on printed document
-wtype <int>: type of watermark
0: normal watermark
1: watermark on header
2: watermark on footer - -wf <string>: font name of watermark
- -wh <int>: font size of watermark
- -wb: specify bold font
- -wi: specify an italic font
- -wu: specify an underlined font
- -ws: specify a strikeout font
- -wa <int>: angle of watermark
- -wbox <string>: a rectangle to output formatted text, it is only useful for "-walign" option, e.g.,
-wbox "0,0,595,842"
-wbox "0,0,612,792"
-wbox "auto" - -walign <int>: set text align
1 : left
2 : center
3 : right - -wc <string>: color of watermark,
FF0000: Red color
00FF00: Green color
0000FF: Blue color
HexNum: Other colors - -wx <int>: X offset of watermark
- -wy <int>: Y offset of watermark
- -wpagebegin <int>: first page to add the watermark
- -wpageend <int>: last page to add the watermark
After commands and parameters you need to use are typed in command prompt window, please click enter to use VeryDOC HTML Converter to convert web page file to PDF/image and watermark PDF/image with commands directly. And then, PDF files or image files with specific watermark could be added into targeting folder directly.
After you read description above, if you want to know GUI version of this application function, please keep visiting here, thank you for your support here.