detecting currently connected printer - Mac

Mike Bonner bonnmike at gmail.com
Fri Sep 16 14:09:21 EDT 2016


Interesting.  If it returns zombie printers, its not exactly helpful.

On Fri, Sep 16, 2016 at 12:07 PM, Colin Holgate <colinholgate at gmail.com>
wrote:

> Was curious what that does. For me it returns a list of all the printers
> my Mac has seen in the last few years, and currently I have no active
> printers on my network at home.
>
>
> > On Sep 16, 2016, at 2:02 PM, Mike Bonner <bonnmike at gmail.com> wrote:
> >
> > does-- lpstat -p give the info you need? (from shell)
> >
> > On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham <pmbrig at gmail.com>
> wrote:
> >
> >> Anyone know how to get a listing of the currently connected printer on a
> >> Mac? I used to do this on my (very) old MacBook via a shell call:
> >> put shell("ioreg") into tList
> >> and then parse the list to find the connected printer name.
> >>
> >> And I now have a new MacBook Pro, and I can’t find anything resembling a
> >> printer in the IO registry list.
> >>
> >> Any ideas?
> >>
> >> — Peter
> >>
> >> Peter M. Brigham
> >> pmbrig at gmail.com <mailto:pmbrig at gmail.com>
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list