Hi all, Any one have any idea, how to convert .doc to pdf in ruby? Is there any converter libs are available in Ruby? Thanks, Anil
on 2012-06-15 12:05
on 2012-06-15 17:17
I doubt it. Generally the best way to convert anything to PDF is to pass it through a "fake printer", like Bullzip PDF Printer. This could probably somehow be done programatically. -- Matma Rex
on 2013-03-07 17:21
I recently authored a blog post, including Ruby sample code, to demonstrate how to convert to and from common file formats (including DOC and PDF) using a third party product. For details see this post: http://blog.muhimbi.com/2013/03/use-ruby-on-rails-... Massive disclaimer! I worked on this product so I am obviously biased.
on 2013-03-07 17:28
Jeroen R. wrote in post #1100557: > http://blog.muhimbi.com/2013/03/use-ruby-on-rails-... Looks interesting, there seems to be a lot of demand for pdf file conversions. You might want to change "Read on the learn more" to "Read on to learn more" on that page. And it's a bit ironic that the Developer Guide is only available in MS-Word format :)
on 2013-03-07 17:36
Doh! I recently added that intro and, contrary to the rest of the post, I did not spell-check it. Its fixed now, thank you so much. I am aware of the irony of having the guide in MS-Word format, but that is a great test document for the converter :-) Some of the people I deal with like to copy parts of our documentation into their own. MS-Word is more suitable than PDF to do this. I have made a note to publish them in both Word and PDF formats the next time an update is released.