In this article, you can know how to convert MS Office 2010 and Office 2007 docx to png and set png resolution with a virtual printer and DOC to Any Converter Command Line in Windows systems. The following part is about the solution:
1. Download DOC to Any Converter Command Line
In this process, DOC to Any Converter Command Line is the main tool to help you process this task. Thus, first, you need to click this link to download it in your computer: https://www.verydoc.com/doc2any_cmd.zip, then extract the folder of “doc2any_cmd” to your computer.
2. Download a virtual printer and install it
Click this link: http://dl.verypdf.net/docprint_pro_setup.exe, the virtual printer of “docprint pro” can be yours freely. And then you also need to double click its installer “docprint_pro_setup.exe” to install this virtual printer in your computer following the setup wizard.
3. Set this virtual printer as default printer
To set it as default printer, you need to click “start” > select “Printers and Faxes” > press “docprint” with the right button of mouse > choose “Set as Default Printer” on the dropdown list, then the virtual printer “docprint pro” can be set as default printer in your computer.
4. Start the command prompt window
In Windows systems, the command prompt window is the operating environment of DOC to Any Converter Command Line. You can follow the steps to run it in your computer:
click “start” > select “Run” > type “cmd.exe” > press “ok”
5. Type the command line
After the command prompt window is opened, you can type the path of ‘doc2any.exe’ into it directly in order to launch DOC to Any Converter Command Line in your computer. Then, you need to prepare to set png resolution by the way of typing some parameters in the command prompt window. And for DOC to Any Converter Command Line, it is sufficient to type “-useprinter” and “-xres <int> –yres <int>” in turns to use the default virtual printer to set the resolution of png with DOC to Any Converter Command Line, where “<int>” can decide the size, the dimension and the clearness of png files, which also can be any int value depending on you(the higher int value leads to the bigger size and dimension with the clearer, vice versa). Then, please add the docx file by typing its path, and input the objective path for the png files to save png files. Here is the command line below, which is an example to convert Office 2007 and Office 2010 docx to png:
d:\doc2any_cmd\doc2any.exe –useprinter –xres 300 –yres 300 f:\input3\in3.docx f:\output3\out3.png
To start this process with DOC to Any Converter Command Line in the command prompt window, please press “enter”, then this conversion can be run quickly. And you can change the directory and the paths accordingly to make your own process with the exact format like this, then your process can be started easily in the command prompt window.
By now, it is nearly an end about this article, which is about a process from Office 2007 and Office 2010 docx to png and set png resolution that can be run with the virtual printer and DOC to Any Converter Command Line. If you want to know more about DOC to Any Converter Command Line, you can click this link: https://www.verydoc.com/doc-to-any-options.html.