Reputation: 183
Is there any way to accurately convert RTF Files to PDF and DOC files on linux server with Python ? I have gone through a number of past questions and here is what I concluded :
Any help would be much appreciated.
Upvotes: 1
Views: 1466
Reputation: 183
As per suggestions and further research by me, I concluded that it is best to implement the 2nd option mentioned in my question itself because of it's balance between a quality solution and being cost optimal. Although, utilities like libreoffice, latex etc. would do the work on linux but none of them are as accurate and real as a MS Word generated report. For my usecase, I implemented a separate Flask API to run on a windows server with MS Office license on it. It contains just a couple of endpoints, taking RTF file as input, and generating PDF and DOCX each.
Upvotes: 1