Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default Windows Printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00395364
Message ID:
00395402
Vues:
14
I've just double-checked and printername is in format "\\server\printer".

>It's part of Windows Scripting Host. Example:
>
>
>oWNet=CreateObject("WScript.Network")
>oWNet.SetDefaultPrinter("printername")
>
>
>I've not tried it yet so don't know what you have to use as the printer name.
>
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform