Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error loading printer driver and Windows XP
Message
De
18/11/2002 16:32:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00723850
Message ID:
00724053
Vues:
19
Sure :-)

This code works in win2k and not winxp......

oDefinePrinter = CREATEOBJECT("WScript.Network")
cNewPrinter=GETPRINTER()
oDefinePrinter.SetDefaultPrinter(cNewPrinter)
cPrinterName = '"'+allt(cNewPrinter)+'"'
set printer to name &cPrinterName

Thanks!

-Greg
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform