What is the IP address of my Linux printers

Issue/Symptom/Question

I am looking for a listing of IP addresses for my linux printers without having to connect to each one individually and pulling the IP.

Applies To

Linux Server

Linux Printers

Resolution/Fix/Answer

To get a listing of the current printers configured on your linux server:

Login into the Linux server and type lpstat -v

Your output will look something like this:

device for hp5si: socket://192.168.12.17:9100
device for konica: socket://192.168.15.7:9100
device for copier: socket://192.168.12.21:9100
device for sales: socket://192.168.12.9:9100