Use htmltools.exe or doc2any.exe to convert RTF files to PDF files

Hi

I want to convert a .rtf-File to a .pdf-Document. I call the program with a "shell-execution" from VB6:

Call Shell("D:\htmltools.exe D:\rtf\Bill_1.rtf D:\pdf\Bill_1.pdf")

On my local Windows XP it works perfectly but if i try it on my Windows Server 2008 the .pdf-File gets printer with all gridlines from the tables.

What can I do?
I can send you the files if you need.

regards,
Customer
-------------------------------
htmltools.exe can't convert RTF file to PDF file very well, because htmltools.exe is depend on the version of Rich Text Edit Control which installed in your Windows System. If you wish convert RTF file to PDF file from command line, we suggest you may use VeryDOC DOC to Any Converter Command Line application, this software has more methods to convert RTF file to PDF file, it can convert RTF file to PDF file with or without MS Office/OpenOffice, it is also support DOC, DOCX, PPT, PPTX, XLS, XLSX, etc. formats to PDF conversion.

VeryDOC DOC to Any Converter Command Line application can be downloaded from following web page,

https://www.verydoc.com/doc-to-any.html

You can use following code lines to convert RTF file to PDF file easily,

Call Shell("D:\doc2any.exe D:\rtf\Bill_1.rtf D:\pdf\Bill_1.pdf")

Call Shell("D:\doc2any.exe -useoffice 1 -useprinter D:\rtf\Bill_1.rtf D:\pdf\Bill_1.pdf")

Call Shell("D:\doc2any.exe -nouseoffice D:\rtf\Bill_1.rtf D:\pdf\Bill_1.pdf")

VeryDOC

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Use htmltools.exe or doc2any.exe to convert RTF files to PDF files, 10.0 out of 10 based on 1 rating

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!