Question Locked

Configuring HP Network Printer

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a requirement to be able to programmatically set the network address, subnet mask, and gateway address on a HP P1505n printer. When the printer is 1st connected, it tries to get a DHCP address. Failing that it assigns a default address of 169.254.241.24. My network does not support DHCP so I get the default address.

Given that the address is known, is there a way I can send commands to the printer to reset the network information to the values I need? Some HP printers support Telnet, but this one apparently does not. Also, I have an older version of the "HP Install Network Printer Wizard" that can detect the printer and set its network values. This proves to me that there must be some way to communicate commands to the printer. However, this is a GUI tool and I can't use it.

Any ideas or pointers would be appreciated.

Bob Harris

4 replies

by churdoo

Well if you temporarily change the IP of your own workstation to the same network of the HP printer, i.e. arbitrarily assign yourself a 169.254.241.XX IP with a 255.255.0.0 subnet mask, you can probably telnet to the printer or access its web browser to change its IP to the proper network.

The HP Install Network Printer Wizard I believe uses SNMP to manage the printer(s) so short of changing your IP as above, you can do what you need to via SNMP, but I personally don't know the commands.

by jplconsultant

The printer does have its own web interface. HP refers to it as the Embedded Web Server (EWS). You can reach it by opening a browser and pointing to the printer's IP Address.

"I have an older version of the "HP Install Network Printer Wizard" that can detect the printer and set its network values."

This will only work if the printer has an IP Address on the same network as your computer.

Is it possible to temporarily setup DHCP on your router? That will get the printer on your network long enough for you to configure it.

I found this gem of a statement in the 1500 series documentation:
"NOTE: The HP LaserJet P1500 network models only support IPv6."

If you're running an IPv4 network, that ought to complicate things a bit for you.

JPL()

by bharris1102

The printer does not support telnet. I tried it several times. I was also thrown by the "IPv6" statement, but the printer works fine with IPv4.

The locations where these printers will be installed do not support DHCP, so that's out.

One oddity that I noticed. With my machine and router having addresses like 10.71.x.x, I could explicitly tell the "HP Install Network Printer Wizard" that my printer address was "169.254.241.24" and it found it! Once it found it, I was able to change the network info for the printer to match my network! Not being a networking Guru this was very surprising.

Obviously, the wizard must be using some tricks to contact the printer. This is what I'm really looking for. How does HP do it? I want the install tech to simply plug in the new printer and run a program. The program will find the printer and change its address to match my network.
Last resort is to provide written instructions for the tech.

I'd appreciate it if you have any more thoughts.

Thanks.

Bob

This discussion is closed to new replies.