Dark mode switch icon Light mode switch icon

Disable Printer Sharing

1 min read
Old Post
This post is over two years old. Content may be out of date.

You can disable macOS printer sharing for all printers using the lpstat and lpadmin tools:

lpstat -p | grep printer | awk '{print $2}'| xargs -I{} lpadmin -p {} -o printer-is-shared=false

Gist on GitHub

Originally published on by Lucas Cantor