Locate printers on the local network

Posted: Nov 19, 2019

nmap -p 515,631,9100 -oG - 192.168.1.1-254 | grep 'open'

If you don't already have nmap installed you can install it on OS X with "brew install nmap" or another package manager.

Obviously you should adjust the range of the IPs to search if 192.168.1.X is not the network you want to scan.