Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System Default Printer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01119120
Message ID:
01119180
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform