Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open and Print a PDF file
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00773960
Message ID:
01083068
Views:
25
Hi Simon,

It was just an example on how you can either open or print PDF. If you only want to print it, use
* Print PDF file
=Shellexecute(0,"Print", lcPDFfile, "","",0)
>
>This answer has been very helpful to me, except that I've run into a bit of an issue with it...
>
>Once the PDF document has been opened, and then I've printed it, how do I then cause the window/document to close ?
>
>I have a set of files to print out, so I don't want to have a whole set of individual document windows left open as each one is opened and then printed.
>
>I've looked at the Option Verbs and ShellExecute on MSDN, but I don't see mention of 'Close' as an action to take.
>
>Do you have any suggestions please?
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform