Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I change the default windows printer?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00198775
Message ID:
00198836
Vues:
20
>I've tried using:
>
>set printer to getprinter()
>
>but no matter which printer I select, when I rerun the command, the default has not changed!
>
>Thanx in advance!

I have the following in a *Select Printer* command button subclass:
in the click method:

local lcPrinter
lcPrinter = getprinter()
if !empty(lcPrinter)
   set printer name to (lcPrinter
endif

in the destroy method

set printer to default
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform