Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Windows default printer portname/sharename
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement