LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-03-2013, 03:48 PM   #1
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Rep: Reputation: 41
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!
 
Old 02-04-2013, 07:47 AM   #2
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware, FreeBSD
Posts: 170

Rep: Reputation: 76
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.
 
Old 02-04-2013, 07:53 AM   #3
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
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.

Last edited by TheStarLion; 02-04-2013 at 07:54 AM.
 
Old 02-04-2013, 08:47 AM   #4
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware, FreeBSD
Posts: 170

Rep: Reputation: 76
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 :-(

Last edited by Philip Lacroix; 02-04-2013 at 09:01 AM.
 
Old 02-04-2013, 08:51 PM   #5
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 624

Rep: Reputation: 32
Quote:
Originally Posted by TheStarLion View Post
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

Last edited by utanja; 02-04-2013 at 08:52 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deskjet 3740 HP won't print temak82 Ubuntu 4 03-21-2008 11:17 AM
Hp DeskJet 3820 will not print. randell6564 Ubuntu 1 04-17-2007 10:48 PM
My HP Deskjet 710c won't print jamsh Suse/Novell 5 10-07-2006 10:11 AM
Can not print from browser to HP deskjet 870cse sirius57 Linux - Hardware 8 02-07-2006 06:47 PM
Unable to print to HP Deskjet 5740 with CUPS Davidian1024 Linux From Scratch 1 08-01-2005 11:36 AM


All times are GMT -5. The time now is 10:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration