Hello,
On Jun 16 13:11 dwelch91 wrote (shortened):
> If you are using HPLIP 1.6.6 for fax support, please apply the following
> patch.
...
> 1. Fixed bug in hpfax: backend that occured during device autodetection
> (reported by Till/Henrique)
Seems to be still problematic.
I have a HP OfficeJet 7210 accessible only via network
with IP 10.10.100.100.
The problem is that my /usr/lib64/cups/backend/hpfax
reports nothing at all.
This results that cupsd doesn't recognize the hpfax backend
as a valid backend and therefore I cannot set up a queue:
----------------------------------------------------------------------
caps:~ # lpadmin -p oj7210fax \
-v hpfax:/net/Officejet_7200_series?ip=10.10.100.100 \
-P /usr/share/hplip/fax/ppd/HP-Fax-hplip.ppd -E
lpadmin: add-printer (set device) failed: client-error-not-possible
----------------------------------------------------------------------
Of course "hp-setup 10.10.100.100" also fails with a
not too enlightening error message ;-)
--------------------------------------------------------------------
[ERROR]: Fax queue setup failed. Please restart CUPS and try again.
--------------------------------------------------------------------
As a quick and dirty workaround I changed my
/usr/lib64/cups/backend/hpfax as follows
--------------------------------------------------------------------------
if len( args ) == 0:
[...]
sock.close()
print 'direct hpfax:/no_device_found "HPLIP Fax" "no_device_found" ""'
sys.exit(0)
if result_code > ERROR_SUCCESS:
--------------------------------------------------------------------------
i.e. I simply added the "print" and "sys.exit(0)" lines to get
the fallback output in any case and now I can set up a queue.
In general:
Please do not rely too much on autodetection magic.
In particular no result from autodetection magic does not
mean in any case that there is actually no device ;-)
Autodetection magic is o.k. but please provide a reasonable
fallback if autodetection magic fails.
Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: [EMAIL PROTECTED]
90409 Nuernberg, Germany WWW: http://www.suse.de/
_______________________________________________
HPLIP-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hplip-devel