Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows default printer portname/sharename
Message
De
14/02/2000 23:27:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Windows default printer portname/sharename
Divers
Thread ID:
00332034
Message ID:
00332034
Vues:
48
Does anyone know a simple way to get the portname/sharename of the windows default printer? The reason for this is that I need to reset it back after the user changes it from the common dialog (which needs to be done as I'm printing from another application) and I'm using defprint which requires either of these as an argument. I can't seem to find any Foxpro or API functions which return this. Thanks in advance for any help.

P.S aprinters() does NOT return the portname, just the port.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform