How To Check Printer IP Address In Unix
Sometimes the printer IP address was not defined in /etc/hosts file due to different Unix OS.
You can use the command as below to check the printer IP address with viewing the /etc/hosts files.
$ lpstat -s | grep prt_whs_6 device for prt_whs_6: /dev/null remote to: prt_whs_6 on sampleosusa-trn.austin.sample.com $ ping sampleosusa-trn.austin.sample.com PING g2904.austin.sample.com: 64 byte packets 64 bytes from 16.238.72.51: icmp_seq=0. time=8. ms 64 bytes from 16.238.72.51: icmp_seq=1. time=8. ms ----g2904.austin.sample.com PING Statistics---- 2 packets transmitted, 2 packets received, 0% packet loss round-trip (ms) min/avg/max = 8/8/8
Leave a Comment


Recent Comments