Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open and Print a PDF file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00773960
Message ID:
01083068
Vues:
24
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform