Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
System Default Printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01119120
Message ID:
01119180
Vues:
19
>Naomi:
>
>I use sys(1037) to invoke the printer setting. When I click in the printer button it show my original printer.
>
>I also try the set printer to name "printer name" it work in the command line but did not work in the application.

SET PRINTER TO DEFAULT does it, but the main problem remains: how would you know that the user changed printer from the Control Panel? I guess some Windows Message is generated, but I have no idea how to hook to this event.

We need help from API gurus of this forum.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform