Sample Header Ad - 728x90

List All Network Printers (including ones not installed)

18 votes
3 answers
57441 views
It is easy to list the printers you've already installed with this command: lpstat -a However, this does not list network printers you have NOT installed. nmap will scan for all open ports on the LAN, but the list produced won't be limited to network printers: sudo nmap -sT 192.168.0.1-254 Is there a command that does the following: 1. Detects the LAN you're currently connected to automatically. 2. Scans the entire LAN looking for Network Printers specifically. 3. Produces a list of Network Printers providing both their hostnames and IP addresses. For example, I logged into the web interface of a **Imagistics fx2100** printer today. It had a "Find device" feature that was capable of finding all the network printers on the LAN (see screenshot below). Notice that this Imagistics printer's built-in utility found printers of all brands (NOT just Imagistic ones). It seems like there would be a command in Linux that could achieve the same list and info (without scripting): enter image description here
Asked by Lonnie Best (5415 rep)
Jun 30, 2014, 06:10 PM
Last activity: May 28, 2024, 07:20 PM