- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change network printer 'location'/IP/hostname
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
Discussions
Discussions
Discussions
Forums
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
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
тАО10-03-2008 10:53 AM
тАО10-03-2008 10:53 AM
I could not find anything on how to change the 'location'/IP/hostname of a current network/remote printer on HP-UX 11.31.
I would rather not delete and re-add it, since all I really need to do is change this 1 piece of information.
--
Don
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2008 11:01 AM
тАО10-03-2008 11:01 AM
Re: Change network printer 'location'/IP/hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2008 11:03 AM
тАО10-03-2008 11:03 AM
Re: Change network printer 'location'/IP/hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2008 11:11 AM
тАО10-03-2008 11:11 AM
Re: Change network printer 'location'/IP/hostname
review /etc/lp/interface/PRINTER_NAME
grep for PERIPH=
if using a hostname then edit /etc/hosts
if using IP address then edit the interface file for the new IP address ( would recommmend creating a hostname and then next time you only have to edit the host file ).
Nothing more to do...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2008 12:15 PM
тАО10-03-2008 12:15 PM
Re: Change network printer 'location'/IP/hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2008 12:17 PM
тАО10-03-2008 12:17 PM
Re: Change network printer 'location'/IP/hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2008 12:27 PM
тАО10-03-2008 12:27 PM
Re: Change network printer 'location'/IP/hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2008 01:55 PM
тАО10-03-2008 01:55 PM
Re: Change network printer 'location'/IP/hostname
You can search all of them with:
grep PERIPH= /etc/lp/interfaces/*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2008 01:02 AM
тАО10-04-2008 01:02 AM
Re: Change network printer 'location'/IP/hostname
The name of the printer and the output of "lpstat -s" can be useful to identify how the printer is connected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2008 02:20 AM
тАО10-04-2008 02:20 AM
Re: Change network printer 'location'/IP/hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2008 03:18 PM
тАО10-05-2008 03:18 PM
Solutionaddqueue -h 12.34.56.78 -q myprinter -t off -b off -r off
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 07:53 AM
тАО10-06-2008 07:53 AM
Re: Change network printer 'location'/IP/hostname
does not find anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 07:55 AM
тАО10-06-2008 07:55 AM
Re: Change network printer 'location'/IP/hostname
gives me:
device for lp4: /dev/null
remote to: text on hostname.domain.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 07:58 AM
тАО10-06-2008 07:58 AM
Re: Change network printer 'location'/IP/hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 11:39 AM
тАО10-06-2008 11:39 AM
Re: Change network printer 'location'/IP/hostname
>>gives me:
>>device for lp4: /dev/null
>>remote to: text on hostname.domain.com
Indicates that your printer lp4 is a "remote spooled" printer. Only way to change the IP is to delete it and re-add it.
If this printer truely has a jetdirect interface I would second Bill's recommendation to delete it and re-add it using the "network" type of config. Makes life so much easier.
Another quick option would be to simply change the IP address related to hostname.domain.com either in the /etc/hosts or on your DNS server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 11:49 AM
тАО10-07-2008 11:49 AM
Re: Change network printer 'location'/IP/hostname
Thanks for all of your help.