Re: need script or function to toggle the default printer

larrydalooza <[email protected]> Tue, 25 Sep 2007 18:09:11 -0000
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
--- In [email protected], "mihalski" <speedi@...> wrote:
>
> I need script or function to toggle the default printer between "Canon
> MP730 Printer" and "AcrobatPDFWriter"
> 
> Has anyone done this???
> 
> Thanks a ton!
>

try something like

Run("RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n ""Canon MP730 Printer""")

or

Run("RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n ""AcrobatPDFWriter""")

LAr.