Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetPrinterDriver() problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00936149
Message ID:
00936306
Vues:
21
Thank you for your reply

this is a good solution too. thank you. i will, however, stay with the api solution from Sergey. if've tried throughout my app to use api alone.

thank you again!

>You already got your answer, but an alternative would be to use WMI:
>
>
>* loWMI   = Getobject('WinMgmts:') && VFP7+
>loLocator = createObject("wbemScripting.swbemLocator")
>loWMI	  = loLocator.ConnectServer()
>loPrinter = loWMI.Get('Win32_Printer.DeviceID="\\\\print01\\Plan1"')
>? loPrinter.DriverName
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform