Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert from .DOC to .PDF programmatially
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00812007
Message ID:
00812022
Views:
11
Something like this:
WITH oWord
.documents.open(....)
.ActivePrinter = "Win2PDF" && carefull here, it is the Default Windows Printer now, so set it back afterwords if needed.
.PrintOut(.f.,.f.,"","C:\doc2pdf.pdf",,,,,,,.t.)

*syntax is PrintOut(Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, FileName, ActivePrinterMacGX, ManualDuplexPrint)

.....

>I need to convert from a MS Word document into PDF programmatically. We are using VFP 6 and office 97.
>
>Are there any built-in ways to accomplish this? If not, what 3rd party converters are recommened for quality and flexibility.
>
>
>Again that is from .DOC to .PDF programmatically.
>
>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform