I have installed hplip-3.17.10.run
and hplip-3.17.10-plugin.run
on my Ubuntu 14.04 LTS. After that, I invoked hp-setup
in terminal or clicked HP Device Manager
to find and add the printer. I chose the second line Network/Ethernet/Wireless network (direct connection or JetDirect)
in the panel, and the option Avahi
in Network discovery method
must be chosen at the same time, which is shown in options in hp-setup.
Under these options, the printer in my office can be found and added (to add the printer). However, the problem still exists. The printer gives nothing when I try to print a test page. And the error Device communication error (code 5012)
popped up in HP Device Manager
. After several attempts after these days, I think the problem is caused by that I can not ping the IP address of the printer on my Ubuntu.
The IP address of my computer is a fixed address, which is 210.XX.77.XXX in this case. And the Subnet mask, gateway and DNS are also given by the administrator of the network of our company. The IP address of the printer is 169.254.162.214. All the computers and the printer are connected to the switch in our office.
In Windows, a method which is shown in the following link setting in Windows 7 is used. It seems this is the common way used in Windows OS.
However, I do not know what should I do when I changed to Ubuntu. I tried to use a similar method which is shown in the following link (my setting in Ubuntu). However, it seems it doesn’t work.
Could you please tell me how should I change the setting of my network in Ubuntu in order to ping the IP address of the printer successfully? One more thing is that I can not change the IP address of the printer at this time because the other ones in my office are using Windows and connected the printer with the IP address 169.254.162.214.
Any help would be much appreciated!
PS: One strange thing is, the day before yesterday, I can ping the printer successfully and the printer can print the test page when I turn on the computer. I thought I had fixed the problem. However, after restarted my Ubuntu, I still can not ping the printer on my Ubuntu.