• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Printer Setup Utility, starting a stopped printer.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printer Setup Utility, starting a stopped printer.


  • Subject: Re: Printer Setup Utility, starting a stopped printer.
  • From: KOENIG Yvan <email@hidden>
  • Date: Sat, 24 Mar 2007 14:12:25 +0100

Hello

To get the current printer path, you may use:

tell application "Printer Setup Utility"
set currentPrinter to (path to library folder from user domain as Unicode text) & "Printers:" & name of current printer & ".app"
set currentPrinter to (path to "impr" as Unicode text) & "Printers:" & name of current printer & ".app"
end tell


The first syntax use only official objects.
The second one use a definition given in "Folder Manager Interfaces".
I am not sure that it would be perfectly safe.

Yvan KOENIG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Printer Setup Utility, starting a stopped printer. (From: Thomas Myers <email@hidden>)
 >Re: Printer Setup Utility, starting a stopped printer. (From: Peter Baxter <email@hidden>)

  • Prev by Date: Re: Printer Setup Utility, starting a stopped printer.
  • Next by Date: Re: Printer Setup Utility, starting a stopped printer.
  • Previous by thread: Re: Printer Setup Utility, starting a stopped printer.
  • Next by thread: Re: Printer Setup Utility, starting a stopped printer.
  • Index(es):
    • Date
    • Thread