lpq I'm not sure of -- it gives some odd output here with my home wireless printer. But a search sent me in the direction of lpstat, which looks promising. I'll test it out in the next few days. Thanks

-- Peter

Peter M. Brigham
[email protected]
http://home.comcast.net/~pmbrig


On Oct 7, 2010, at 6:21 PM, Mike Bonner wrote:

lpq should do what you want. Will show all print queues and their status
for example, my wireless printer returns

_3500_4500_Series_<MAC:002000148b45> is ready
no entries

no entries of course meaning that there are no queued documents. I didn't try shutting my printer down to see if the status would change though, so
your mileage may vary.

On Thu, Oct 7, 2010 at 4:12 PM, Peter Brigham MD <[email protected]> wrote:

I'm looking for the shell command that would include in its output
something that would identify a printer that is currently wirelessly
connected to my MacBook. I can use shell("ioreg") to get info on a printer connected via USB (after some parsing), but my wireless printer connection doesn't show up in the ioreg listing. What command can I use to see how the system identifies a wireless printer? I need to be able to confirm before printing from a stack that the wireless connection to the printer is up and
running.

If it matters, the wireless connection is not a Bonjour connection -- it's a PC wireless network. I can print fine using the printer, so the connection
is good, and functional.

-- Peter

Peter M. Brigham
[email protected]
http://home.comcast.net/~pmbrig <http://home.comcast.net/%7Epmbrig>
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to