Discussion:
need script or function to toggle the default printer
mihalski
2007-09-25 15:28:39 UTC
Permalink
I need script or function to toggle the default printer between "Canon
MP730 Printer" and "AcrobatPDFWriter"

Has anyone done this???

Thanks a ton!
larrydalooza
2007-09-25 18:09:11 UTC
Permalink
Post by mihalski
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.
Jim Mihalski
2007-09-25 18:21:44 UTC
Permalink
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: ***@yahoogroups.com [mailto:***@yahoogroups.com] On
Behalf Of larrydalooza
Sent: Tuesday, September 25, 2007 2:09 PM
To: ***@yahoogroups.com
Subject: [AutoIt] Re: need script or function to toggle the default printer
Post by mihalski
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]

Loading...