Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting MSWord .DOC to .PDF from VFP
Message
 
To
12/02/2007 17:28:45
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01194893
Message ID:
01194962
Views:
12
>I tried including conditional code to use "Adobe PDF" as the printer, but it generates a .ps file about 5-6 times larger than the "Acrobat PDF Writer" does, and the generated (.ps) document is not readable. What steps do you take that convert the .ps document into a readable PDF? The steps I use for the "Acrobat PDF Writer" don't work, & no variations that I've tried yet have worked.
>
>Thanks,
>Randy

I just tested on a word document and if the printer default is set to the pdf writer, this will create a test.pdf file in my default directory:

oword=creat('word.application')
oword.Documents.Open(GETFILE('doc'))
oword.Visible=.t.
oword.PrintOut(,,,'test')


VFP 9, Word 2003 and Adobe
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform