docPrint Pro v5.0 can not convert text files to PDF files

Our docPrint Pro 5 is converting everything except for txt files. Could you please help?
We apologize for any inconvenience this may have caused to you, we will research this problem shortly, we will let you know as soon as we have any finding on this problem.

In the meantime, you can simple rename .txt to .html or .doc filename to try again, doc2pdf.exe will convert .html or .doc file to PDF or other formats without any problem.

Hello VeryPDF,

We cannot convert the files in HTML or Doc in our automatic process. I’ve tried it manually and it worked fine but our automatic process cannot let us convert txt files to other formats.

We were using DocPrint Pro 3.2 before but had to upgrade for format reasons. Since we installed version 5.0 everything was working fine until we noticed the txt files are not converted. The GUI does not create any output file and the command line creates a response 0 without any output file as well. This is only for txt files.

I think it could be releated to configuration but we don’t know why. Could someone connect to our system so we can look into this more in details. This is starting to be urgent. We can also provide a web link and ID to connect to our system.

Thank you,
In default, doc2pdf.exe does call notepad.exe to print your text files to PDF files, it seems the default associated application for .txt format has been changed in your system, this will cause doc2pdf.exe can’t call default notepad.exe to print the text file, you can reset the notepad.exe as the default printing application to .txt format, doc2pdf.exe will support .txt format properly.

Also, we have created a new version of doc2pdf.exe to you, please download the new version from following URL,


please use new version of doc2pdf.exe to overwrite old version of doc2pdf.exe first first, you can run following command line to convert your text files to PDF files properly,

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -s PrintTXTMode=1 -i "D:\temp\EKA_US_EN_48.pdf.txt" -o d:\temp\out.pdf

The new version of doc2pdf.exe does support following options to print the text file,

-s PrintTXTMode=0: Default, use notepad to print text file
-s PrintTXTMode=1: Use MS Word to print text file
-s PrintTXTMode=2: Use Internet Explorer to print text file

We hoping “-s PrintTXTMode=1” or “-s PrintTXTMode=2” options will work better for you.


Thank you for this. Everything works fine now with PrintTXTMode=1. We also tried PrintTXTMode=0 and this still did not work. For your information the PrintTXTMode=2 also worked but we have chosen Mode=1.

Note: We always had assigned the TXT file to notepad but there seems to be an issue with notepad. We have tested this once after assigning the txt file to MSWord and still did not work and reassigned it to notepad and nothing changed. The solution you have provided worked perfectly.

Thank you very much!
Thank you for your message.


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

One Reply to “docPrint Pro v5.0 can not convert text files to PDF files”

  1. I read about VeryPDF PDF Converter and downloaded it. It is really very convenient – you can turn PDF documents into Word in like two seconds. great product.

    VA:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.20_1166]
    Rating: 0 (from 0 votes)

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!