A way to convert text to bmp and set bmp resolution with virtual printer

It is easy to convert text to bmp with the specific bmp resolution with DOC to Any Converter Command Line. With DOC to Any Converter Command Line, you can not only create any types of files from Office files, but also help you process the task of setting some properties of the objective files, e.g., the image resolution. And if you continue to read this article, you will how to deal with this kind of issues with the command line.

Here is the method to convert text file to bmp file and edit the resolution of bmp below:

1. Install DOC to Any Converter Command Line and a virtual printer

Click the download links of DOC to Any Converter Command Line and the virtual printer “docprint pro” separately: https://www.verydoc.com/doc2any_cmd.zip , http://dl.verypdf.net/docprint_pro_setup.exe, DOC to Any Converter Command Line and docprint pro virtual printer can be downloaded in your computer. Then you need to unzip the related program of DOC to Any Converter Command Line to your computer so that you can call "doc2any.exe" later directly. Then, please double-click the installer “docprint_pro_setup.exe” to install docprint pro in your computer.

2. Set docprint pro as default printer

For DOC to Any Converter Command Line can help you call the default virtual printer through a parameter during the conversion, and  it is essential to call a default virtual printer to assist DOC to Any Converter Command Line set the bmp resolution, it is necessary to set docprint pro as default printer in your computer. To realize it, please press “start” to get start menu, then select “Printers and Faxes”, and after you open “Printers and Faxes”, please click “docprint” with the right button of mouse, then on the dropdown list you need to choose “Set as Default Printer”, with “docprint” marked, the virtual printer “docprint pro” can be your default printer in your computer.

3. Launch the running environment and DOC to Any Converter Command Line

After you have DOC to Any Converter Command Line and docprint pro installed, please open the operating environment of DOC to Any Converter Command Line, and for Windows platforms, it is the command prompt window. Thus, you need to click “Windows + R” to start the dialog box “Run”, then please type “cmd.exe” or “cmd” and click “ok” in this dialog box, then the running environment can be popped out quickly.

Then, in the running environment, please directly input the path of “doc2any.exe” in order to launch DOC to Any Converter Command Line in the command prompt window.

4. Edit the resolution, add the text file and assign an objective folder

To edit bmp resolution, add text file and assign a targeting folder for bmp file during this process, you can refer to the command line:

g:\doc2any_cmd\doc2any.exe –useprinter –xres 222 –yres 222 f:\inputs\in.txt f:\outputs\out.bmp

In the command line above, you need to know the following tips:

g:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”; –useprinter is a parameter to help you call default virtual printer; –xres 222 –yres 222 is the parameters to help you edit the resolution of bmp files as 222 and 222 in horizontal and vertical directions; f:\inputs\in.txt is the txt path to add the txt file for this conversion; f:\outputs\out.bmp is the objective path to assign a folder “outputs” for bmp files.

At last, please click “enter” to make DOC to Any Converter Command Line convert text to bmp with the specific bmp resolution. However, for the command line above, you can also avoid to use the virtual printer. And here is the short introduction about resolution:

Usually, the image resolution can be used for adjusting the dimension of image files, which can be applied in some output devices, e.g., printers or scanners. And the higher resolution of raster image is, the bigger raster image dimension is, the bigger raster image size is, and the clearer raster image is, and vice versa.

Here, it is nearly an end of this article, if you have any questions about DOC to Any Converter Command Line, please click this link: https://www.verydoc.com/doc-to-any-options.html. At last, thank you for reading this article, which is about a process of text to bmp and edit bmp resolution with DOC to Any Converter Command Line.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!