Registry Keys
-
Hey, I was wondering what registry keys are set when you right click on a printer and say 'Set as default printer' Thanks for your help Chris
A simple search for "Setting default printer registry" on MSDN resulted in a nice little KB article: Setting the Default Printer in Windows 2000 by Using the Registry[^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
A simple search for "Setting default printer registry" on MSDN resulted in a nice little KB article: Setting the Default Printer in Windows 2000 by Using the Registry[^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Hey dave, Thanks for the help, i am currently using that said method to set the default printer but some applications mainly MS Word and MS Excel do not recognise the new printer as default and use the previous one. I was wondering if any other registry keys where set on making a printer default as i think there must be a location that these applications are still looking to use the printer that they are. Any suggestions? Thanks again chris
-
Hey dave, Thanks for the help, i am currently using that said method to set the default printer but some applications mainly MS Word and MS Excel do not recognise the new printer as default and use the previous one. I was wondering if any other registry keys where set on making a printer default as i think there must be a location that these applications are still looking to use the printer that they are. Any suggestions? Thanks again chris
Actually, they both ask the system what the default printer is (Platform SDK: GetDefaultPrinter), not the registry. Both apps get the default printer only when they start or when they receive a WM_SETTINGCHANGE message. You might want to read this[^] and this[^] for a little more info. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Hey, I was wondering what registry keys are set when you right click on a printer and say 'Set as default printer' Thanks for your help Chris
As Dave noted, this is not so much a registry thing, but if you ever need to know exactly what registry keys are queried when, you can't beat RegMon[^] with a stick. It is one of many great tools offered by Sysinternals. Charlie if(!curlies){ return; }
-
As Dave noted, this is not so much a registry thing, but if you ever need to know exactly what registry keys are queried when, you can't beat RegMon[^] with a stick. It is one of many great tools offered by Sysinternals. Charlie if(!curlies){ return; }