yash1983 Posted January 22, 2008 Share Posted January 22, 2008 (edited) Hi I want to set a installed printer in the Priner and Faxes as default printer using AutoIt code. I want hep if any body has done this earlier. Edited January 22, 2008 by yash1983 Link to comment Share on other sites More sharing options...
LOULOU Posted January 22, 2008 Share Posted January 22, 2008 Hi I want to set a installed printer in the Priner and Faxes as default printer using AutoIt code. I want hep if any body has done this earlier.Reading registry key on windows XP to know yhe default printer$default = RegRead("HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers", "Default")Exemple To assign a printer name "toto"RunWait('RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n "toto"') Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now