Information générale
Catégorie:
COM/DCOM et OLE Automation
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement