detecting currently connected printer - Mac

Peter M. Brigham pmbrig at gmail.com
Fri Sep 16 13:52:48 EDT 2016


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>




More information about the use-livecode mailing list