Re: Convert Word .doc to Acrobat .pdf files

2008-06-06 Thread Paul Scott
On Fri, 2008-06-06 at 16:22 +0530, Dinil Karun wrote: > hi, > > I am using the below code but i am getting a error saying pyUno module > not found. > can u please help. I just wrote the same thing! Take a look at http://cvs2.uwc.ac.za/trac/python_tools/browser/oooconv It should do what you wan

Re: Convert Word .doc to Acrobat .pdf files

2006-03-31 Thread kbperry
The question is where is the API? -- http://mail.python.org/mailman/listinfo/python-list

Re: Convert Word .doc to Acrobat .pdf files

2006-03-30 Thread Caleb Hattingh
If you can find some API documentation for PDFMWord.dll, you can call its methods with the ctypes python module. Caleb -- http://mail.python.org/mailman/listinfo/python-list

Re: Convert Word .doc to Acrobat .pdf files

2006-03-30 Thread kbperry
Justin, Your way appeared to work great, but now I just realized that the using the printer way destroys the table of contents and bookmark links. Rune's way would be perfect, but I don't see a macro created like that. I tried to create one from scratch, but it didn't work. I am now trying to se

Re: Convert Word .doc to Acrobat .pdf files

2006-03-29 Thread kbperry
Wow...thanks again for the replies! I will try both of these out at work tomorrow. (I only work 3 days a week because of school). Thanks, Keith www.301labs.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Convert Word .doc to Acrobat .pdf files

2006-03-28 Thread Justin Ezequiel
"When you create a PostScript file you have to send the host fonts. Please go to the printer properties, "Adboe PDF Settings" page and turn OFF the option "Do not send fonts to Distiller". kbperry, sorry about that. go to "Printers and Faxes" go to properties for the "Adobe PDF" printer go to the

Re: Convert Word .doc to Acrobat .pdf files

2006-03-28 Thread Rune Strand
kbperry wrote: > Questions: > Does Acrobat Pro, have some way to interface with it command-line (I > tried searching, but couldn't find anything)? Is there any other good > way to script word to pdf conversion? > > Note: The word documents do contain images, and lots of stuff besides > just text

Re: Convert Word .doc to Acrobat .pdf files

2006-03-28 Thread kbperry
Justin, While I was salivating when reading your post, it doesn't work for me, but I am not sure why. I keep getting an error: Titled: Adobe PDF "When you create a PostScript file you have to send the host fonts. Please go to the printer properties, "Adboe PDF Settings" page and turn OFF the opt

Re: Convert Word .doc to Acrobat .pdf files

2006-03-23 Thread Justin Ezequiel
## this creates a postscript file which you can then convert to PDF ## using Acrobat Distiller ## ## BTW, I spent an hour trying to get this working with ## win32com.client.Dispatch ## (the save file dialog still appeared) ## Then I remembered win32com.client.dynamic.Dispatch ## ## Can somebody ple

Re: Convert Word .doc to Acrobat .pdf files

2006-03-23 Thread kbperry
Thanks again Duncan! I will use the OpenOffice solution as a last resort. It isn't the standard office suite at my corp. I would like the code to be as portable as possible, and it would seem like a pain in the arse to have the end user install OpenOffice just to run my script. Sure it would ju

Re: Convert Word .doc to Acrobat .pdf files

2006-03-23 Thread Duncan Booth
kbperry wrote: > Thanks for the replys! > > I need to stick with Word (not my choice, but I would rather keep > everything like he has it). That shouldn't be a problem: you can use stick with Word for editing the documents and just use OpenOffice to do the conversion. > > Duncan, > I was just

Re: Convert Word .doc to Acrobat .pdf files

2006-03-23 Thread kbperry
Thanks for the replys! I need to stick with Word (not my choice, but I would rather keep everything like he has it). Duncan, I was just trying the printing thing. When installing Adobe Acrobat, it installs a printer called "Adobe PDF," and I have been trying to print to there, but the "Save" win

Re: Convert Word .doc to Acrobat .pdf files

2006-03-23 Thread Duncan Booth
kbperry wrote: > Hi all, > > Background: > I need some help. I am trying to streamline a process for one of our > technical writers. He is using Perforce (version control system), and > is constantly changing his word documents, and then converts them to > both .pdf and "Web page" format (to pu

Re: Convert Word .doc to Acrobat .pdf files

2006-03-23 Thread Thomas Guettler
I wrote a script which uses OpenOffice. It can convert and read a lot of formats. #!/usr/bin/env python #Old: !/optlocal/OpenOffice.org/program/python # (c) 2003-2006 Thomas Guettler http://www.tbz-pariv.de/ # OpenOffice1.1 comes with its own python interpreter. # This Script needs to be run with

Convert Word .doc to Acrobat .pdf files

2006-03-23 Thread kbperry
Hi all, Background: I need some help. I am trying to streamline a process for one of our technical writers. He is using Perforce (version control system), and is constantly changing his word documents, and then converts them to both .pdf and "Web page" format (to publish to the web). He has a l