RE: Re: need script or function to toggle the default printer

"Jim Mihalski" <[email protected]> Tue, 25 Sep 2007 14:21:44 -0400
Newsgroups gmane.comp.windows.autoit.user
Message-ID <002e01c7ffa0$ed8eafb0$6501a8c0@jimsdell>
Terrific!!!!   I sure do appreciate that!   Jim
 
Best Regards!  Jim A.K.A. "Speedi"  Allentown, PA
--------------------------------------------
I am not as fast as I once was, but 
I'm as fast as I'll ever be again!
--------------------------------------------
 

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of larrydalooza
Sent: Tuesday, September 25, 2007 2:09 PM
To: [email protected]
Subject: [AutoIt] Re: need script or function to toggle the default printer



--- In AutoItList@yahoogro <mailto:AutoItList%40yahoogroups.com> ups.com,
"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.



 


[Non-text portions of this message have been removed]