Description of problem: OfficeJet 4500 scan function is not working over netowrk, only usb Version-Release number of selected component (if applicable): [root@m7 ~]# yum list installed | grep hplip hplip.x86_64 3.12.6-1.fc17 hplip-common.x86_64 3.12.6-1.fc17 hplip-libs.x86_64 3.12.6-1.fc17 How reproducible: always Steps to Reproduce: 1.connect printer over ethernet 2.no scanner is shown in simple-scan, printing works 3.connect printer directly with usb, scanner is shown in simple-scan Actual results: no scanner shown in simple-scan or xsane Expected results: scan function is usable over ethernet Additional info: did work in earlier versions of fedora
What does 'yum list installed libsane-hpaio' say?
Sorry for being so late... libsane-hpaio.x86_64 3.12.6-1.fc17 @updates
If you disable your firewall temporarily, does it then work?
Tried that already, didn't work
What output does this command give? SANE_DEBUG_HPAIO=255 scanimage -L
SANE_DEBUG_HPAIO=255 scanimage -L [sanei_debug] Setting debug level of hpaio to 255. [hpaio] sane_hpaio_init(): scan/sane/hpaio.c 297 [hpaio] sane_hpaio_get_devices(local=0): scan/sane/hpaio.c 316 No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). [hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 310
What does 'lpstat -s' say?
lpstat -s system default destination: Officejet-4500-G510g-m device for Officejet-4500-G510g-m: dnssd://Officejet%204500%20G510g-m%20%5B697EF2%5D._pdl-datastream._tcp.local/
Because of removing and re-adding of my printer the former output of 'lpstat -s' was wrong. correct now is: lpstat -s system default destination: Officejet-4500-G510g-m device for Officejet-4500-G510g-m: socket://192.168.2.108:9100 But still no scanner, firewall is off right now.
I think the "hp" backend needs to be used for the printer (or any printer -- even a queue you don't use) in order to libsane-hpaio to know where to find the scanner.
Can I reconfigure anything to change the backend? I added the printer using the default stuff in system settings.
Yes. 1. Make sure you have the "hplip" package installed. 2. Use s-c-printer or hp-setup to add a new printer. (If using s-c-printer, select Network Printer -> Find Network Printer and enter '192.168.2.108'; then select the HPLIP connection type.)
Thanks! Adding the printer using hp-setup worked, the scanner is now recognized. Maybe the routines form hp-setup could be called by the system settings, so that in future everything works smooth for users that don't know the internals. Think you can close the bug
One more thing... If I add the printer using hp-setup, the scanner works but is does not print. Address of printer is shown as 'localhost' If using system settings it's the other way round. Address of printer is an ip-address.
What does 'lpstat -s' say now?
Hi Tim, I'm back from vacation and here's the requested information. when printing works: lpstat -s system default destination: Officejet-4500-G510g-m device for Officejet-4500-G510g-m: socket://192.168.2.108:9100 device for Officejet_4500_G510g-m_fax: hpfax:/net/Officejet_4500_G510g-m?ip=192.168.2.108 when scanner works and not printer: lpstat -s system default destination: Officejet_4500_G510g-m device for Officejet_4500_G510g-m: hp:/net/Officejet_4500_G510g-m?zc=HP697EF2 device for Officejet_4500_G510g-m_fax: hpfax:/net/Officejet_4500_G510g-m?ip=192.168.2.108
another configuration that does not print: lpstat -s system default destination: Officejet_4500_G510g-m device for Officejet_4500_G510g-m: hp:/net/Officejet_4500_G510g-m?ip=192.168.2.108 device for Officejet_4500_G510g-m_fax: hpfax:/net/Officejet_4500_G510g-m?ip=192.168.2.108 Printing queue is emptied and dialogs are shown in message tray, even low color filling is shown, but nothing is printed.
Could you please follow the procedure here to get a troubleshoot.txt file, and attach that file to this bug report using the Add an Attachment link above? https://fedoraproject.org/wiki/How_to_debug_printing_problems#Printing_troubleshooter
Created attachment 605390 [details] output of su -c "lpinfo -l -v"
Created attachment 605391 [details] contents of /var/log/cups/access_log after trying to print test page
Created attachment 605392 [details] contents of /var/log/cups/error_log after trying to print test page test page print was requested using system settings
D [18/Aug/2012:22:17:28 +0200] [Job 142] prnt/hpijs/hpijs.cpp 268: unable to set device=HP Color LaserJet 2600n, err=48 D [18/Aug/2012:22:17:28 +0200] [Job 142] prnt/hpijs/hpijs.cpp 289: unable to set device=HP Color LaserJet 2600n, err=48 D [18/Aug/2012:22:17:28 +0200] [Job 142] **** Unable to open the initial device, quitting. I think this printer needs a proprietary HP plugin before HPLIP will be able to drive it. Use "hp-plugin" to install this plugin. Alternatively, you said printing was working before you got scanning working -- in that case, you were most likely using a different driver. You can of course switch back to using that driver (but keep the backend the same, to enable scanning). To change just the driver, click the Change... button next to "Make and Model" in system-config-printer.
Hi Tim, yes, when I'm adding the printer using gnome system settings, printing works and not scanning. When using hp-setup it's the other way round. I'll try changing the model - if that doesn't work I continue using the config that allows me to print, the scanner is only very seldom used by me. But in Fedora 16 both functions did work without problems. I'll also have a look for the hp-plugin you mentioned. Thanks.
I installed the plugins. then the printer only printed gibberish on a lot of sheets when asked to print a test page. I changed the type from hpijs to hpcups using system-config-printer. Now everything seems to work fine. Thanks a lot, I'm closing the bug