Sponsored Content
Operating Systems HP-UX how to find the IP address of a printer Post 302171514 by Perderabo on Thursday 28th of February 2008 04:05:36 PM
Old 02-28-2008
If lp01 is the name of a printer, try lpstat -s. You may get a hostname or an ip address. You probably use DNS, so use nslookup to translate hostnames to IP addresses.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find i.p address of our server

I don't have root access. How do I find i.p address of our sun server? Thanks. (4 Replies)
Discussion started by: vpotluri
4 Replies

2. UNIX for Dummies Questions & Answers

Add printer with IP address with lpadmin

Hi all, I'm tryin' to add a network printer with lpadmin (I don't have access to admintool) to a Solarisbox but I don't exactly know where to use the IP address. The thing is that this printer exists already with another printQ but I don't see any printerserver declared with lpsystem -l although... (3 Replies)
Discussion started by: nulnul7
3 Replies

3. UNIX for Advanced & Expert Users

Find LAN Address

Hi, I am wondering how I can find the network address under following situation. Things available: 1. An active network drop without knowing any details about the network. 2. I have windows, Linux, and Solaris machine available to use. Things to achieve: 1. Find out the... (5 Replies)
Discussion started by: jiashi2
5 Replies

4. IP Networking

How do I find my IP address when connecting via VPN.

I connect to my client's network via VPN. We have a UNIX box there & I would like to know IP address of my PC when I connect to UNIX box using Putty software. I checked this command - /usr/sbin/ifconfig -a and it showed me the output lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232... (4 Replies)
Discussion started by: gppande
4 Replies

5. UNIX for Advanced & Expert Users

Find IP Address of a Printer Q in Hp-Unix

Could anyone help me to identify the IP address of a printer queue with its printer queue name information . (1 Reply)
Discussion started by: lenin1985
1 Replies

6. AIX

How to find the router IP address

How to find the router IP address (2 Replies)
Discussion started by: AIXlearner
2 Replies

7. AIX

Where to find printer drivers for AIX 5.x

I was wondering if somebody knew of a website where printer drivers can be downloaded for AIX 5.3. Most of our printers are HP and the driver that is installed works properly. As of lately, our users have started to get other type of printers, including Multi-purpose devices. I am struggling to... (2 Replies)
Discussion started by: fabiogilr
2 Replies

8. Linux

Find printer location and printer type

Hi, Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ? Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies

9. UNIX for Dummies Questions & Answers

How to Find another IP address

Hi Guys, I want to find another(Local host) machine IP address from my machine.. We are all connected in the same server, I mean same LAN. What i done is Connected with that user machine using SSH and SU.. After that i used IFCONFIG but it shows my Ip address. Can not able to get the... (8 Replies)
Discussion started by: Adhi
8 Replies

10. Shell Programming and Scripting

Script to find available IP address

Hi, I am trying to write a script that will check all used IP on the server and then print me an addressees that are not in use. Problem is in comparing two variables #!/bin/bash NETSTAT=$(netstat -ntp | awk '{ print $4 }' | grep -v "127.0.0.1" | cut -d ":" -f1 | grep "^"|sort | uniq )... (6 Replies)
Discussion started by: nemesis911
6 Replies
RESOLV.CONF(5)							File Formats Manual						    RESOLV.CONF(5)

NAME
resolv.conf - Domain Name System resolver configuration SYNOPSIS
/etc/resolv.conf DESCRIPTION
The /etc/resolv.conf is used to configure how the host will use the Domain Name System to resolve hostnames to IP addresses. It may con- tain these two lines: nameserver IP-address domain domain-name The nameserver entry tells the IP address of the host to use for DNS queries. If it is set to 127.0.0.1 (which is the default) then the local name daemon is used that may use the /etc/hosts database to translate host names. You normally only need a nameserver entry if the name server is at the other side of a router. The default nonamed name server can't look beyond the local network. The domain entry tells the default domain to use for unqualified hostnames. This entry is usually not given in which case the domain of the local host is used. The long version of this story can be found in resolver(5). FILES
/etc/resolv.conf DNS resolver configuration file. SEE ALSO
resolver(5), hosts(5), nonamed(8), boot(8). AUTHOR
Kees J. Bot (kjb@cs.vu.nl) RESOLV.CONF(5)
All times are GMT -4. The time now is 04:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy