Yes! You can use DOC to Any Converter Command Line to convert text to pdf with the virtual printer, for DOC to Any Converter Command Line not only support creating any types of files from the Office documents with the targeting properties singly and in batches, but also support the function of the virtual printer to print pdf files from other Office documents.
Anyway, if you do not have DOC to Any Converter Command Line and the virtual printer installed in your computer, you may need to click the following links to download them in your computer:
- DOC to Any Converter Command Line: https://www.verydoc.com/doc2any_cmd.zip
- Docprint pro: http://dl.verypdf.net/docprint_pro_setup.exe
Then, please double-click the related installer separately to install them in your computer, for DOC to Any Converter Command Line, the installer is “doc2any.exe”; for docprint pro, the installer is “docprint_pro_setup.exe”.
After the installation of theirs, you need to set the virtual printer of docprint pro as the default printer in your computer, then you can follow the steps below to start to process the task with DOC to Any Converter Command Line:
1. Run the command prompt window
The command prompt window is the running environment of DOC to Any Converter Command Line for Windows systems, and it is elementary to run it in Windows systems for launching DOC to Any Converter Command Line. Thus, first, to run it in Windows platform, you may need to click “Windows + R” to run the dialog box of “Run”, then please type “cmd” and press “ok” in order to open the command prompt window.
2. Launch DOC to Any Converter Command Line
To start DOC to Any Converter Command Line, you may need to input the path of “doc2any.exe” or drag and drop the program of “doc2any.exe” into the command prompt window.
3. Start the process after the basic preparation
After you start DOC to Any Converter Command Line, you can refer to the following command line to deal with your conversion by yourself:
G:\doc2any_cmd\doc2any.exe –useprinter –height 1000 e:\input.txt F:\output.pdf<enter>
For the command line above, there are some tips I need to mention:
G:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”, which is for starting DOC to Any Converter Command Line;
–useprinter is to use the virtual printer in order to convert text file to pdf file via the virtual printer;
–height 1000 is to set the height of the pdf file as 1000;
e:\input.txt is the path of the txt file;
F:\output.pdf is the path to save and name the pdf file;
At the end of the command line, please do not forget pressing “enter” in order to use the virtual printer to convert text to pdf with DOC to Any Converter Command Line.
If you do understand this conversion from text to pdf with the virtual printer, you can process other tasks with DOC to Any Converter Command Line very easily. And if you want to know more information about DOC to Any Converter Command Line, you need to visit the home page of DOC to Any Converter Command Line via this link: https://www.verydoc.com/doc-to-any-options.html.