detecting currently connected printer - Mac

Peter M. Brigham pmbrig at gmail.com
Fri Sep 16 14:39:37 EDT 2016


Fantastic! That does it. Many thanks.

— Peter

Peter M. Brigham
pmbrig at gmail.com

> On Sep 16, 2016, at 2:22 PM, Colin Holgate <colinholgate at gmail.com> wrote:
> 
> I found this, which lets you see all devices connected to USB:
> 
> ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*$//' | grep -v '^Root.*'
> 
> 
> 
>> On Sep 16, 2016, at 2:16 PM, Peter M. Brigham <pmbrig at gmail.com> wrote:
>> 
>>> On Sep 16, 2016, at 2:09 PM, Mike Bonner <bonnmike at gmail.com> wrote:
>>> 
>>> Interesting.  If it returns zombie printers, its not exactly helpful.
>> 
>> Right. I need a way of detecting which printer is currently connected via USB. Any other ideas?





More information about the use-livecode mailing list