Convert .doc to pdf in ruby

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

···

--
Posted via http://www.ruby-forum.com/.

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

Does this help?
http://www.ruby-forum.com/topic/1296459

···

--
Posted via http://www.ruby-forum.com/.

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-to-convert-merge-and.html

Massive disclaimer! I worked on this product so I am obviously biased.

···

--
Posted via http://www.ruby-forum.com/.

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 :slight_smile:

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.

···

--
Posted via http://www.ruby-forum.com/.

If you wanna save these complicated steps and find a easy way, you can
google PDF to word Converter and you will find many useful tools, or
google how to convert PDF to word and vice versa to get instructive
articles. Good luck:) I think PDF conversion programmes can enable to
quickly convert files. i have use PDF converter which can original
layouts hyperlinks, Images and tables retained in word ,text, image,
Epub, html.but i forgot download the wedsite ,go to google. By the way ,
pay attention to your system platform, select the suitable one . I use a
PDF converter driver found on the internet . Install it and it becomes a
selectable converter option.Then you can convert PDFs to many forms in
any program at all, including Adobe Acrobat . Just open a PDF, select
convert, and choice a form you want, then you can do pdf to word
conversion and vice versa,the task will be finished in several seconds.
if you haven't found a good choice , you can have a try. best wishes.
http://www.rasteredge.com/how-to/vb-net-imaging/word-convert-pdf/

···

--
Posted via http://www.ruby-forum.com/.

if your on windows, you may be able to use the ole library, to save as
pdf from word...

···

--
Posted via http://www.ruby-forum.com/.

Jeroen R. wrote in post #1100557:

Use Ruby (on Rails) to Convert, Merge and Watermark HTML & Office files to PDF

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 :slight_smile:

···

--
Posted via http://www.ruby-forum.com/\.

You can see pandoc(http://johnmacfarlane.net/pandoc/\) and pandoc ruby gem(
https://github.com/alphabetum/pandoc-ruby\).

···

2013/8/26 danny thyui <lists@ruby-forum.com>

If you wanna save these complicated steps and find a easy way, you can
google PDF to word Converter and you will find many useful tools, or
google how to convert PDF to word and vice versa to get instructive
articles. Good luck:) I think PDF conversion programmes can enable to
quickly convert files. i have use PDF converter which can original
layouts hyperlinks, Images and tables retained in word ,text, image,
Epub, html.but i forgot download the wedsite ,go to google. By the way ,
pay attention to your system platform, select the suitable one . I use a
PDF converter driver found on the internet . Install it and it becomes a
selectable converter option.Then you can convert PDFs to many forms in
any program at all, including Adobe Acrobat . Just open a PDF, select
convert, and choice a form you want, then you can do pdf to word
conversion and vice versa,the task will be finished in several seconds.
if you haven't found a good choice , you can have a try. best wishes.
VB.NET Word: Word Conversion SDK for Changing Word Document into PDF File

--
Posted via http://www.ruby-forum.com/\.

--
----------------------------------------
Sangil Jung.

+82.10.6402-4639
http://humbroll.com

Neither Word's .DOCX nor .PDF are pandoc input formats according to the docs.

···

On Aug 25, 2013, at 11:59 PM, Sangil Jung <humbroll@gmail.com> wrote:

You can see pandoc(http://johnmacfarlane.net/pandoc/\) and pandoc ruby gem(https://github.com/alphabetum/pandoc-ruby\).