Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the default printer (Again!)
Message
From
24/02/1999 05:34:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Changing the default printer (Again!)
Miscellaneous
Thread ID:
00190845
Message ID:
00190845
Views:
51
In the past, I've changed the default printer by changing the INI file setting, running my print job and then changing it back.

This works fine. The system we are currently writing is to run on NT 4, so I've been asked to make the functions use the registry.

I've searched all the messages about changing printers and been pointed to changing

HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers - Default

but I cannot get Fox (Version 5) to respect ithe change. Quiting Fox and reloading doesn't get it to update either. The only way to get the change to update is to reboot the PC - not really an option :)

Is there anything else I need to change in the registry to get Fox to change what it thinks is the default printer - I've seend the SYS(3056) command mentioned but I that appears to be Fox 6 only.

TIA
regards

Ian
Next
Reply
Map
View

Click here to load this message in the networking platform