In this article, you can know how to use VeryDOC DOC to Any Converter to convert Office to PDF and edit PDF margin one time in Windows systems.
And only several steps you need to take can help you accomplish conversion from Office file to PDF file and editing PDF margin, and below are details:
Step1. Open command prompt window
Command Prompt is a window that command line needs to be typed in, so it is elementary to run it in your computer. And after this, you can continue to input commands in it for your own conversion.
Step2. Input commands and convert Office file to PDF file and edit PDF margin
To fulfill conversion by yourself, it is simple and convenient for you to refer to following examples:
doc2any.exe –margin 20 C:\in\a.ppt C:\out1.pdf
doc2any.exe –margin 20x30 C:\in\b.xls C:\out2.pdf
doc2any.exe –margin 20x30x10x20 C:\in\c.docx C:\out3.pdf
where you need to know:
- doc2any.exe is to call executive file “doc2any.exe” in order to run this software
- ….ppt/xls/docx is to specify input Office file, also it could be TXT, RTF, DOC, PPTX, XLSX, etc. Office file types
- ….pdf is to specify output filename and file extension due to requirements of production of PDF files from this application
- -margin 20: Set margin to 20 pt to left
- -margin 20x30: Set margin to 20 pt, 30 pt to left, top
- -margin 20x30x10x20: Set margin to 20 pt, 30 pt, 10 pt, 20 pt to left, top, right, bottom
When you finish typing commands and setting PDF margins with parameter as shown above, you can convert Office file to PDF file and edit PDF margin directly. And finally, targeting PDF file with specific PDF margin could be added into destination folder.
Look, it is so convenient and easy to use VeryDOC DOC to Any Converter to convert Office file to PDF file and edit PDF margin as you can see from mentioned above, so if you are still trapped in which software you should select on this kind of conversion, please feel free to try VeryDOC DOC to Any Converter, then you love this software cause of its multiple functions!