Converting MSWord Docs to PDF

Grant Edwards grante at visi.com
Fri Oct 13 11:12:53 EDT 2006


On 2006-10-13, Theerasak Photha <hanumizzle at gmail.com> wrote:
> On 11 Oct 2006 02:10:38 -0700, Ant <antroy at gmail.com> wrote:
>>
>> Theerasak Photha wrote:
>> > On 10/11/06, melv at awc.edu <mj23 at toro.azwestern.edu> wrote:
>> ...
>> > (La)TeX is the king of document processing, and does PDF.
>>
>> Except that the OP want's to print Word documents as PDF.
>> LaTeX is good, granted, but just try converting LaTeX
>> documents to Word or vice versa...

OpenOffice will print directly to PDF, and it does a fair job
of opening MS Word documents.  I don't know if you can control
OOo directly from Python or print from the command line (OOo
doesn't seem to have a man page).

> Oh. But can't you just render Word documents to PostScript?

Yes.

> And then ps2pdf will pick up the rest of the slack.

Yes. 

That's how the various free "PDF printer drivers" for Windows work.

> It might not even need Python.

Not unless you're trying to automate the process somehow.

-- 
Grant Edwards                   grante             Yow!  I wish I was a
                                  at               sex-starved manicurist
                               visi.com            found dead in the Bronx!!



More information about the Python-list mailing list