Logo Background

How To Check Printer IP Address In Unix

  • By on March 12, 2009 | No Comments

    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 icmp_seq=0. time=8. ms
    64 bytes from 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
    » Oracle Script For Concurrent Request Information
Leave a Comment