|
|
|
|
|
by slsii
618 days ago
|
|
I just tested this on OS X, which doesn't expose printers through /dev/ in the way you're describing as far as I can tell. But apparently lp exists on OS X, so you can do echo "Hello printer" | lp -d <printer_name>, and find the name through lpstat -p. And sure enough, this works! Just tested on my new printer. |
|