web stats
RTF to PDF channel - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 06-01-2010, 09:44 AM
brmeyers brmeyers is offline
What's HL7?
Join Date: Feb 2010
Location: Nashville, TN
Posts: 5
brmeyers is on a distinguished road
Default RTF to PDF channel

Is it possible to convert an RTF to a PDF in mirth. I have found the rtfToPlainText option to convert to plain text, however I would like to retain the RTF tables/formatting. Any suggestions?
Reply With Quote
Old 06-01-2010, 12:23 PM
bradd bradd is offline
Mirth Employee
Join Date: May 2009
Location: Irvine, CA
Posts: 133
bradd is on a distinguished road

I suggest checking out: http://www.rtf-to-xml.com/

It's not free or necessarily easy to use but it can do what you are looking for. I used it for a rtf to txt project and it does a good job. There is an evaluation version that inserts random punctuation marks into the text but you can use it for testing.

To get this into Mirth it would be easiest to create your own custom jar that uses the rtf to xml library and call the jar from mirth.

good luck.

Reply With Quote
Old 10-22-2014, 12:43 PM
Fassebax Fassebax is offline
What's HL7?
Join Date: Oct 2014
Posts: 1
Fassebax is on a distinguished road

I suggest to try https://convertio.co/rtf-pdf/ it is easy and free
Reply With Quote
Old 10-23-2014, 01:30 PM
jackwhaines jackwhaines is offline
Join Date: May 2011
Location: Kansas City, Missouri
Posts: 255
jackwhaines is on a distinguished road
Send a message via Skype™ to jackwhaines

Agreed. I would use a javascript transformer to save the RTF (or call it directly if you already have it local to the mirth engine), run the app via command line, and then pick the new PDF file back up and send it via the destination. I do something very similar with encrypting pre-generated PDFs.
Reply With Quote

pdf, rtf

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 12:53 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation