It is very easy to use DOC to Any Converter Command Line to convert xls to pdf and add watermark on pdf file in Windows platforms. You can get this method through the following paragraphs.
1. Please start DOC to Any Converter Command Line in your computer
If you do not have DOC to Any Converter Command Line, extract the folder “d0c2any_cmd” to your computer after you click the following link to download a zip file: https://www.verydoc.com/doc2any_cmd.zip. Then, you need to open the running environment of DOC to Any Converter Command Line in your computer, it is the command prompt window that can be opened through the following method:
click “start” –> select “Run” on start menu –> input “cmd.exe” in dialog box of “Run” –> click “OK”
After the operating environment is on your screen, please choose one of the ways below to start DOC to Any Converter Command Line:
- input the path of “doc2any.exe” that is located in folder “doc2any_cmd” into command prompt window
- drag and drop the program of “doc2any.exe” into command prompt window
Then, you need to click “space” for other command typed in command prompt window.
2. Please refer to command line below to input your own command line to convert xls to pdf and add watermark on pdf
The following is the example based on this task, which you can refer to process your own task with DOC to Any Converter Command Line:
D:\doc2any_cmd\doc2any.exe –wtext “verydoc” –wf “Arial” F:\ins\example7.xls F:\outs\example7.pdf
thereinto:
- D:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”
- –wtext “verydoc” is typed to edit watermark of pdf as “verydoc” based on this parameter “-wtext <string>”
- –wf “Arial” is used to set font of watermark as “Arial”, which can be changed to another font type
- F:\ins\example7.xls is the source path used for adding this source file for the conversion
- F:\outs\example7.pdf is the targeting path typed for saving pdf file in folder “outs”
You need to follow the steps above one by one to input your own directories in command prompt window, at last, please click “enter”, and your pdf file can be added in your objective folder.
After you get all the description about how to convert xls to pdf and add watermark of pdf, you can go to the homepage of DOC to Any Converter Command Line to know more parameters for watermarks of pdf via this link: https://www.verydoc.com/doc-to-any-options.html.