HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- printer ip change
Operating System - HP-UX
1833780
Members
2199
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-21-2007 04:23 AM
02-21-2007 04:23 AM
there is a request to change the ip/hostname of a printer. when i try hppi it says the printer has jobs and not allowing. we have permissions to kill the jobs. how shd i do this ?
Thanks
Joe
Thanks
Joe
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 04:33 AM
02-21-2007 04:33 AM
Re: printer ip change
We don't need no stinkin hppi.
I would do this:
0) Update /etc/hosts, DNS, NIS(+) -- whatever you are using for hostname resolution and create the new hostname/IP address tuple.
1) disable myprinter
2) ps -ef | grep hpnpf and see if any job is trying to be printed on myprinter; if so, kill the hpnpf process --- just the one associated with my printer
3) cd /var/spool/lp/interface
vi myprinter
There will be a line:
PERIPH=oldprinter
change it to:
PERIPH=newprinter
and save the file.
4) enable myprinter
I would do this:
0) Update /etc/hosts, DNS, NIS(+) -- whatever you are using for hostname resolution and create the new hostname/IP address tuple.
1) disable myprinter
2) ps -ef | grep hpnpf and see if any job is trying to be printed on myprinter; if so, kill the hpnpf process --- just the one associated with my printer
3) cd /var/spool/lp/interface
vi myprinter
There will be a line:
PERIPH=oldprinter
change it to:
PERIPH=newprinter
and save the file.
4) enable myprinter
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 05:01 AM
02-21-2007 05:01 AM
Re: printer ip change
Clay:
I followed the instructions. but i need to change my printer name from va9hp21 to va10hp21. the printer name is still va9hp21
Thanks
Joe
I followed the instructions. but i need to change my printer name from va9hp21 to va10hp21. the printer name is still va9hp21
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 05:16 AM
02-21-2007 05:16 AM
Solution
That was not your request. You said you wanted to change the ip/hostname of the printer. You now want to change the queue name although you should note that the name of the queue and the hostname have nothing to do with each other.
In any event, you will need to remove the existing print queue and add it back using hppi or from the command line using removequeue/addqueue.
I'll assume that you want to use hppi so your first task is to cancel any outstanding jobs.
1) disable myprinter
2) lpstat -omyprinter and note the requestid's
3) use the cancel command to cancel each requestid.
4) You can now remove and add the printer using hppi.
In any event, you will need to remove the existing print queue and add it back using hppi or from the command line using removequeue/addqueue.
I'll assume that you want to use hppi so your first task is to cancel any outstanding jobs.
1) disable myprinter
2) lpstat -omyprinter and note the requestid's
3) use the cancel command to cancel each requestid.
4) You can now remove and add the printer using hppi.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP