- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Network Pritners related question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 06:12 AM
12-05-2005 06:12 AM
Network Pritners related question
Im running a HPUX 11.0 server and I have several network printers set up on the server. The ip address of the printers are set up in /etc/hosts and I want to know how a printer queue knows its ip-address. I tried to grep for the ip/host name in the interface files and drew a blank...
I'd greatly appreciate any help
Nell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 09:02 AM
12-05-2005 09:02 AM
Re: Network Pritners related question
Check in /etc/lp/interface/PRINTER_NAME
the IP address is on the line
PERIPH=xxx.xxx.xxx.xxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 09:10 AM
12-05-2005 09:10 AM
Re: Network Pritners related question
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=231325
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 09:38 AM
12-05-2005 09:38 AM
Re: Network Pritners related question
In case you get a name instead of IP address, then DNS is probably in use. In which case,
nslookup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 05:56 PM
12-05-2005 05:56 PM
Re: Network Pritners related question
to "grep" the IP address of the network printers:
# grep 'PERIPH=' /var/spool/lp/interface/*
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 10:22 PM
12-05-2005 10:22 PM
Re: Network Pritners related question
Heres a script I use
finger lp
echo " "
lpstat -t
echo " "
ll -d /var/spool/lp/*
echo " "
xx=`lpstat -p|grep printer|cut -f2 -d" "`
for printer in $xx
do
cd /var/spool/lp
pwd
ll -d member/$printer
ll -d request/$printer
echo " "
cd /etc/lp/interface
pwd
ll -d $printer
grep 'PERIPH=' $printer 2> /dev/null|
head -n 1
ll -d model.orig/$printer 2> /dev/null
echo " "
done
Steve Steel