This article aims to show you a convenient way to convert doc to pdf and set page margin of pdf flexibly with DOC to Any Converter Command Line. DOC to Any Converter Command Line can help you process these tasks one time with the command line.
First, you need to have a computer with Windows systems. Then, you need to have DOC to Any Converter Command Line in this computer. However, if you do not have this tool in your computer, you can download DOC to Any Converter Command Line through clicking this link: https://www.verydoc.com/doc2any_cmd.zip. Then, please unzip the content to your computer.
Second, please click “start” > select “Run” > type “cmd.exe” or “cmd” > click “ok” in dialog box “Run” to run “cmd.exe” in your computer, then on your screen, the command prompt window can be popped out, which is the operating environment of DOC to Any Converter Command Line.
Then, if you want to process your task in the command prompt window, it is essential to do the following things one by one:
launch DOC to Any Converter Command Line > set pdf margin > add single doc file > save targeting pdf file > one click to produce single pdf file
Before my illustration, please see the following command line, which is about the conversion from doc to pdf and set page margin:
1. d:\doc2any_cmd\doc2any.exe –margin 10 f:\input\a.doc f:\output\a.pdf
2. d:\doc2any_cmd\doc2any.exe –margin 10x10 f:\input\b.doc f:\output\b.pdf
3. d:\doc2any_cmd\doc2any.exe -margin 10x10x10 f:\input\c.doc f:\output\c.pdf
4. d:\doc2any_cmd\doc2any.exe -margin 10x10x10x10 f:\input\d.doc f:\output\d.pdf
These command lines contain the same format, thus, here I explain “1” as an example for you:
- d:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”, you need to input it to run DOC to Any Converter Command Line
- –margin 10 is the parameter to set pdf left margin as 10 pt
- f:\input\a.doc is the path of single doc file, which is used to add it for this process
- f:\output\a.pdf is the targeting path, which is used to save single pdf file and name it
When you process the task from doc to pdf, and set page margin of pdf, you need to type the command line like above step by step, then please click “enter” in the command prompt window, later, DOC to Any Converter Command Line can help you produce single pdf file quickly.
Likely, the following “2, 3, 4” command line can also help you produce the relative pdf files separately with 10 pt left and top margins, 10 pt left, top, right margins, and 10 pt left, top, right, bottom margins.
At last, if you want to know more conversion beside this one, which is from doc to pdf and set page margin of pdf, you can log on the homepage of DOC to Any Converter Command Line from this link: https://www.verydoc.com/doc-to-any-options.html.