Convert txt to pdf using virtual printer

If you want to convert txt to pdf using virtual printer, you can use DOC to Any Converter Command Line, which is a professional tool to help you convert Office files to other kinds of files with some objective properties singly or in batches. Here is the solution below:

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

To install DOC to Any Converter Command Line, you may need to download it firstly. Here is the download link you can click to download DOC to Any Converter Command Line : https://www.verydoc.com/doc2any_cmd.zip, then install it in your computer by double-clicking the installer “doc2any.exe”;

To install the virtual printer, you can choose docprint pro to download it in your computer, and here is the download link: http://dl.verypdf.net/docprint_pro_setup.exe, click it to get the installer, then double-click it to install docprint pro in your computer.

2. Set the virtual printer as default printer

Open “Printers and Faxes”  to use the right button of mouse to click this virtual printer, then please select “Set as Default Printer”.

3. Open the running environment of DOC to Any Converter Command Line

Click “start” > press “Run” > type “cmd.exe” > click “ok” in Windows systems, then the command prompt window can be opened easily, which is just the operating environment of DOC to Any Converter Command Line.

4. Type the command line to start the conversion

To launch DOC to Any Converter Command Line, please type the path of “doc2any.exe” in the command prompt window, which is the first step to type the command line; then you need to type the parameters after the running of DOC to Any Converter Command Line, which can help you edit the properties of the objective pdf file, and to use the virtual printer, you can input the relative parameter “-useprinter”; then please input the source path for adding the txt file for the conversion; and type the targeting path in order to save the pdf file; to start the conversion, you need to press “enter” in the command prompt window.

The following command line is about the conversion of txt to pdf using the virtual printer:

d:\doc2any_cmd\doc2any.exe –useprinter f:\input.txt e:\output.pdf<enter>

Once you follow the steps below to get your own preparation, your pdf file can be produced quickly with DOC to Any Converter Command Line.

-----------------------------------------------------------------------------------------

If you want to convert txt file to pdf file from each page of the single txt file, you can add the percent character “%” next to the objective name, and here is the example below:

d:\doc2any_cmd\doc2any.exe –useprinter f:\input.txt e:\output%.pdf<enter>

Then, the pdf files can be produced from each page of the single txt file.

Is it helpful to you for the method above? Anyway, it is the end of this article about how to convert txt to pdf with the virtual printer and DOC to Any Converter Command Line. Any questions, you can drop a comment here; and if you want to know more about DOC to Any Converter Command Line and more parameters, you can visit the homepage of DOC to Any Converter Command Line from this link: https://www.verydoc.com/doc-to-any-options.html.

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!