Operating System - HP-UX
1833875 Members
1925 Online
110063 Solutions
New Discussion

Re: Changed printer IP address

 
Jayson Hurd_2
Advisor

Changed printer IP address

I had to change the IP address of a printer. After changing it in /etc/hosts, I changed it in the printer file under /etc/lp/interfaces. Then I disabled and reenabled the printer. New jobs submitted still get hung up in the queue. I think the IP address is still not taking. Is there anything else I need to do?
Most things worth having don't come easily.
6 REPLIES 6
Vitek Pepas
Valued Contributor

Re: Changed printer IP address

Can you ping the printer?
Bill Hassell
Honored Contributor

Re: Changed printer IP address

A lot of missing information here. Is this an HP JetDirect interface card or a non-HP printer+LAN card? For JetDirect, just use the removequeue and addqueue commands with IP address (no hostname is needed at all). For non-JetDirect printers, the connection is via remote printing and the best way to fix this is to delete the printer in SAM and re-add it, giving the remote host as an IP address. Be sure to check the BSD printer option and you'll need the internal name of the printer used inside the LAN card.


Bill Hassell, sysadmin
Keith Bevan_1
Trusted Contributor

Re: Changed printer IP address

Jayson,

This might be an obvious question but have you changed the ip address at the remote end. ie on the printer/print server ?

What were the results of the ping test ?
Try ping ip address
Try ping alias name setup in hosts

What type of printer is it ?
Is this configured as remote printer ?
What other equipment is attached to the printer, network card, print server ?

Are you using jetadmin or other application software to manage this device ?

Keith


You are either part of the solution or part of the problem
doug mielke
Respected Contributor

Re: Changed printer IP address

doesn't a printer address change require the print service to be shut down and re started?

lpshut


lpsched


(Although I usually remove them and add them back)

lpadmin -xprintername
then either jetadmin or hppi
Caesar_3
Esteemed Contributor

Re: Changed printer IP address

Hello!

Did you change the ip on the printer?
Try to ping the ip after the change.

Caesar
Alan Turner
Regular Advisor

Re: Changed printer IP address

If you use bootp to set your printer's IP address, you will also need to edit your /etc/bootptab file. This file relates your printer's hardware address to an IP address (also to a printer name). When the printer powers on, it broadcasts a bootp request containing its hardware address, and waits for a response from a bootp server. Lets say your old IP address was 146.88.32.102 and you want to change it to 146.88.35.203. If your printer name was, say, pjet1, and your hardware address was, say, 0001e69d8afe you might have an entry in /etc/bootptab of:

pjet1:\
:ht=ether:\
:ha=0001e69d8afe:\
:hn:\
:ip=146.88.32.102:\
:vm=rfc1048:

Change this entry to read:

pjet1:\
:ht=ether:\
:ha=0001e69d8afe:\
:hn:\
:ip=146.88.35.203:\
:vm=rfc1048: