- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- IP address of the Printronix (Network printer) in ...
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
02-17-2003 05:37 PM
02-17-2003 05:37 PM
IP address of the Printronix (Network printer) in hp-ux
can any one advise me on how could i find the ip address for that printer installed in hp-ux.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 05:46 PM
02-17-2003 05:46 PM
Re: IP address of the Printronix (Network printer) in hp-ux
Go to /var/spool/lp/interface. You will find a file with the printer name. View the file and search for PERIPH. It will contain either the IP or the hostname. If it is hostname, you can find the IP by doing 'nslookup printer_hostname'.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 05:52 PM
02-17-2003 05:52 PM
Re: IP address of the Printronix (Network printer) in hp-ux
View the printer, it should contain either the DNS name or IP address where is states "PERIPH"
If it does not utilise nslookup. If you use other than a jetdirect card, nslookup is the way to do it.
# nslookup printername
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 06:00 PM
02-17-2003 06:00 PM
Re: IP address of the Printronix (Network printer) in hp-ux
# /usr/sam/lbin/lpmgr -l xcols=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 06:15 PM
02-17-2003 06:15 PM
Re: IP address of the Printronix (Network printer) in hp-ux
# /opt/hpnpl/bin/hpnpadmin -v printername
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 07:40 PM
02-27-2003 07:40 PM
Re: IP address of the Printronix (Network printer) in hp-ux
I have try the command nslookup printername and the result show as below. anyone can advise ?
sapdev1:root:/etc/lp/interface:133:$ nslookup p5212
Using /etc/hosts on: sapdev1
looking up FILES
*** No address information is available for "p5212"
regards,
wai ling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 07:47 PM
02-27-2003 07:47 PM
Re: IP address of the Printronix (Network printer) in hp-ux
Check your /etc/nsswitch.conf file - what does the line that start with hosts: say?
If it's just
hosts: files
and you use DNS then you need to add that search component. Change it to:
hosts: files [NOTFOUND=continue] dns [NOTFOUND=return UNAVAIL=return]
This way the DNS server will be queried & if it's not found there or the server(s) is(are) down then you'll get an error.
HTH,
Jeff