Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing IP address on LP printer

Status
Not open for further replies.

vistech1

MIS
Jun 18, 2001
39
US
I have a customer running AIX v4.3 They have a printer using a particular IP address and want to change the IP address. Is it possible to change that IP address without removing the printer and re-adding it using SMIT?
 
The printers are identified by hostname, not IP address. As long as you can ping the printer by name you will have no problem. Be sure that you are using the same name in ping as in the queue definition: we have multiple domains (north america, europe, africa, etc) so some queues are reachable only by the full domain name.
 
Just change the ip address in /etc/hosts file. You might have to start/stop the queue. If a job was stuck trying to print to the old IP, sometimes I have to delete it to get the queue to start again.

Debi
 
Either way. My setup is turning complicated so I suggest whichever method you use, try to make it standard. For +100 servers, I prefer to use DNS. I don't have to know the IP of the print servers that way and the NT team can move servers around all day without bothering me.

As for deleting the queue, never happened to me, just lucky I guess... except for when I got the good old "dummy" entries in /etc/qconfig but wacky stuff happens in printing. In fact, my published method of redirecting print queues in a failure situation is to just add an entry to /etc/hosts. It started printing every time (maybe I'm just lucky) and I didn't even have to cycle the qdaemon.

Just some thoughts.
 
Thank you for your help, all Ineeded to do was change the ip address in the /etc/hosts file. I will keepin mind the other recommnedation for our larger customers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top