Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to check whether Printer Setup Utility is alive or not?



> ps auxww | grep "Printer Setup Utility"

That is easy enough, thanks.

Is there a way to restart Printer Setup Utility, or even restart it with
arguments like -o addprinter -o ppdlocation=... -o protocol, etc.

Maybe it can only be done from Apple script? (I've never used
Applescript)

George

> -----Original Message-----
> From: Michael Plagge [mailto:email@hidden]
> Sent: Thursday, March 23, 2006 2:05 PM
> To: George Liu
> Cc: email@hidden
> Subject: Re: How to check whether Printer Setup Utility is alive or
not?
> 
> Am 23.03.2006 um 23:12 schrieb George Liu:
> > How to check whether Printer Setup Utility is alive or not?
> >
> > Running ps -e doesn't give me anything.
> Probably not the most elegant way, but what about this:
> 
> ps auxww | grep "Printer Setup Utility"
> 
> This even runs on my german system as the core executable is a binary
> with a fixed (english) name. But maybe there are better ways to
> determine if PSU is launched...
> 
> Hope that helps
> Michael

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.