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 126.96.36.199: icmp_seq=0. time=8. ms
64 bytes from 188.8.131.52: 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
Next» Oracle Script For Concurrent Request Information