Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OWordObj.PrintOut Word To PDF
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01439477
Message ID:
01439634
Views:
50
>Code Below works fine, but we do not need the Save As Dialog box to show up. Any ideas?
>
>From what we found, the driver "PDF-XChange for ABBYY PDF Transformer 2.0" has an option "Show 'Save As....'Dialog" that
>you can turn off under the Properties off the driver but need help turning that off if thats what we need to do
>
>
>oWordObj= CREATEOBJECT("Word.Application")
>oWordObj.Documents.Open('C:\foxpro\mytest.rtf') 
>oWordObj.ActiveDocument.Printout(.f.,.f.,0,'C:\foxpro\mytest.PDF')
>
Mike,

There are many pdf printers specifically designed for regular users of MS Office.
In most cases programmers cannot use them to print documents from the code because of user dialogs that need to be suppressed from the third application (like waiting for window with specified title, and send keys to it).
If to the contrary there are options for this product, then probably provider can answer you directly.

Just in case, I use Win2PDF for many years, and do not experience any problems.

Good Luck
Previous
Reply
Map
View

Click here to load this message in the networking platform