LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   hp 1000_J110 printer stopped working for no apparent reason. (https://www.linuxquestions.org/questions/linux-server-73/hp-1000_j110-printer-stopped-working-for-no-apparent-reason-924634/)

Meneither 01-19-2012 11:15 AM

hp 1000_J110 printer stopped working for no apparent reason.
 
A few weeks ago I installed an HP printer on my home’s server, and it was working just fine, until a couple of days ago with apparent no reason stopped working.
We noticed that even though we sent works to the printer, the printer just does not print.
I did the following to test the printer:
- I did a reboot and shutdown the server in order to reload everything.
- I run the lpq –a command to report all the printing works and some works were there in the queue, like waiting to be pushed out to the printer.
- I tested the printer directly from another computer and did work.
- Restarted cups
- Run the hp-setup again and the printer was there connected to an usb port, I set it up again, and still no printing coming out.

Any suggestion or recommendation about this issue? Please share your thoughts.

Thank you.

Andrew4096 01-19-2012 12:59 PM

Possible network issue?
 
Knowing a bit more about your local area network (LAN) setup would be helpful.

I have an HP LaserJet 5SiMX with built-in Ethernet card, and I've seen my Linux box "lose" it when I've had to power down and restart the entire network. The fix in my case was to create a reserved block of IP addresses in my Netgear Wi-Fi router that is excluded from dynamic IP assignment and assign a fixed IP address to the printer in that reserved address range so that it always appears on the LAN at the same IP address.

Since the HP Deskjet 1000-J110 only has a USB port, other machines may be looking for it via your server's IP address. Make sure the server is using a fixed IP address so that it always appears at the same place when it starts up. Re-installing the network printer after it gets "lost" sometimes cures the problem temporarily, but putting servers, printers, and other common resources at fixed addresses avoids this headache.

Meneither 01-19-2012 04:16 PM

Thank you Andrew 4096:
you are absolutely right about the dynamic IP, I guess someone had to reboot the router and then another IP was assigned to the server, I noticed that due to I couldn't connect to it trough Putty and had to research the new IP.

I know the previous IP so I will set this as static IP for the server, maybe this change works unless you guys tell me otherwise.

Andrew4096 thank you again for your recommendation.

Meneither 01-20-2012 11:00 AM

It looks like I have solved the problem for now. I ran the setup again and created a new queue with a different name. This action created a new printer name, ran the test and printed the test page.

sudo hp-setup -i
(add the -i if is a no GUI installed)

I have installed the new printer and it looks working fine. Something I noticed while installing the new printer, the old printer showed off-line in the windows clients I really don't know why this happened, unless there is an instruction in cups or in the server that puts on hold the printer.

For now is working, if someone have an idea what happened, please share it.

Regards all.


All times are GMT -5. The time now is 04:26 PM.