Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing default windows printer
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00109349
Message ID:
00109520
Views:
23
>How can i change the default windows printer programatically in VFP5.0.
>
>Thanks

There are two ways to change the Windows default printer from VFP. Both involve API function calls. The old way was to modify the WIN.INI file's device setting in the windows section. This way works in Win 95, but I can't say for certain that it will in Win 98. I've done this before, so if you want more details, I can help you here. The proper way is to modify the registry setting.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform