LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Debian (http://www.linuxquestions.org/questions/forumdisplay.php?f=26)
-   -   Cannot print w/HP Deskjet F4500 (http://www.linuxquestions.org/questions/showthread.php?t=4175448496)

TheStarLion 02-03-2013 03:48 PM

Cannot print w/HP Deskjet F4500
 
I have a HP Deskjet F4500 that I can connect to wirelessly from any Windows box, but cannot seem to connect to on any of the Debian Wheezy installs.
Usually while using system-config-printer I can give it the device URI so it can find it on the network (the printer's IP address followed by the port number, ex. 192.198.0.9:9100) and cups will then ask me to pick the driver from the list.
It presents two options -a hpijs and hpcups, with hpijs being the recommended, but when trying to click apply on the following tab it just pops up and says "There was an error during the CUPS operation 'client-error-not-possible'." and won't go any further.
Also attempted to connect using the AppSocket/HP Jetdirect, as it (supposedly) supports that, which does not throw the same issue - but when attempting to print a test page nothing happens. Using the hpijs driver, the Printer State never changes from reading 'idle', while the hpcups goes through 'Processing' to 'Connecting to Printer' then invariably ends up returning 'Is unreachable at this time, while a Windows computer can print right away with no problems!

Philip Lacroix 02-04-2013 07:47 AM

I would try downloading and compiling the hplip open source software, it is specific for HP printers, scanners and all-in-one devices:

hplipopensource.com/hplip-web/about.html

Your printer seem to be fully supported by version 3.9.10 and upper:

http://hplipopensource.com/hplip-web...00_series.html

Drivers are sometimes an issue with Linux: this can happen with recent devices, or when hardware manufacturers don't deliver hardware details to FOSS developers (while folks at MS don't have that problem!). Despite this, sometimes reverse engineering can help writing a driver that support a device partially. Regarding HP, they are pretty Linux-friendly as far as I know, and I suspect that the bigger work for drivers is now being done under hplip, not cups.

TheStarLion 02-04-2013 07:53 AM

I have tried with the hplip package that is in the Debian Wheezy repositories, which is at version 3.12.6-3. It can find the printer while using the USB option it presents, but again afterwards the 'status' sticks at Idle and no test pages are printed.
I also attempted to use the wireless setup using a temporary usb connection also offered by hlplip, which appears to work - but after it says to disconnect the USB cable, everything tells me the printer cannot be found again.
Is there a difference to compiling it directly? I would have thought the one in the repositories would work just fine.

Philip Lacroix 02-04-2013 08:47 AM

I mentioned compiling because I saw Gentoo in your profile (forgot to be in the Debian section) and yes, with Debian the recommended way is to install from repositories and the hplip version found in Wheezy is surely fine. I've never had issues related to wireless printers (I don't like wireless very much) but I had to do with CUPS drivers which didn't fully support my printer, while hplip did. Did you try running system-config-printer as root? This allowed me a couple ot times to get printers to work (but no wireless connection was involved). If it's a wireless networking issue, I'm sorry not being able to help further :-(

utanja 02-04-2013 08:51 PM

Quote:

Originally Posted by TheStarLion (Post 4883767)
I have a HP Deskjet F4500 that I can connect to wirelessly from any Windows box, but cannot seem to connect to on any of the Debian Wheezy installs.
Usually while using system-config-printer I can give it the device URI so it can find it on the network (the printer's IP address followed by the port number, ex. 192.198.0.9:9100) and cups will then ask me to pick the driver from the list.
It presents two options -a hpijs and hpcups, with hpijs being the recommended, but when trying to click apply on the following tab it just pops up and says "There was an error during the CUPS operation 'client-error-not-possible'." and won't go any further.
Also attempted to connect using the AppSocket/HP Jetdirect, as it (supposedly) supports that, which does not throw the same issue - but when attempting to print a test page nothing happens. Using the hpijs driver, the Printer State never changes from reading 'idle', while the hpcups goes through 'Processing' to 'Connecting to Printer' then invariably ends up returning 'Is unreachable at this time, while a Windows computer can print right away with no problems!


You are on the right track ...i have it running for both printing and scanning wireless....
i have assigned a static IP to the printer

the admin page for cups should read as follows:

Description:HP Officejet 4500 G510n-z Location:<what ever your location>
Driver:HP Officejet 4500 g510n-z, hpcups 3.12.6 (color, 2-sided printing)
Connection:hp:/net/Officejet_4500_G510n-z?zc=HPOccam
Defaults:job-sheets=none, none media=na_letter_8.5x11in sides=one-sided


All times are GMT -5. The time now is 08:17 AM.