Convert documents of TXT to PDF and set PDF title by command line

You will be able to convert the document of txt to pdf and set PDF title for target PDF document if you choose the command line application of Document Converter as your tool. With this command line application, you can also set the other PDF descriptions such as the keywords, title, author, etc. Only an easy command line will enable you to make this conversion and set PDF title, please see the following contents.

Before knowing how the command line application works, you should know some basic information about it. Document Converter is an expert document converter which is made up of three internal applications—command line application, GUI application and virtual printer application. The command line application is to be introduced in this article. It is the helper to software developers.

The GUI application is a good batch converter because you can drag and drop a batch of documents into its user interface and convert them in batch. The virtual printer application can be used to be a Windows printer and also a document converter which is also able to convert any printable documents to image formats.

The free download URL of the command line application is https://www.verypdf.com/artprint/docprint_pro_setup.exe and you should install it on the computer for extract all the files and components. Then the executable file doc2pdf.exe is runnable instantly.

For using all the functions of the application,  you should buy the application at https://www.verypdf.com/order_docprintpro.html.

At first of the conversion from txt to pdf, please open MS-DOS interface by clicking “Start”—“Run” to open “Run” dialog box and inputting “cmd” in “Open” combo box. Then please click “OK” button. You can also use the hot key “Window”+ “R” to open “Run” dialog box.

When you need to input the command line in MS-DOS interface, please refer to the following command line example for inputting a right command line.

doc2pdf –t “article” –i D:\FILE.txt –o D:\FILE.pdf

In the command line

  • doc2pdf is for calling the called program—doc2pdf.exe.
  • –t “article”  is for setting PDF title as “article”.
  • –i D:\FILE.txt is for specifying the path of source file.
  • –o D:\FILE.pdf is for setting the name of target file.

In the end of the conversion from txt to pdf, you need to hit “Enter” button on the keyboard to run the conversion. Several seconds later, you will be able to browse the target file in specified location and you can see whether it is perfect enough.

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!