Bonjour,

Je daigne enfin poster un message sur ce forum, pour mon passage de ubuntu à fedora ...
J'adore !

Cependant, petit problème, j'ai installé la dernière version de HPLIP 3.9.10 sur Fedora12
L'imprimante est reconnu, tout va bien, sauf pour une seule chose. Lorsque je tente d'imprimer le message suivant apparaît :
cups-missing-filter

J'ai fais plusieurs recherche, et il manquerait (apparemment) un paquet foomatic-rip-hplip qui n'est pas installé mais je ne le trouve nulle part !
J'ai vu diverses solutions qui disaient aussi de désactiver SElinux, ce que j'ai fais, et n'a rien changé...

Voilà ce que me dis hp-check :
[julien@laptop ~]$ hp-check

HP Linux Imaging and Printing System (ver. 3.9.10)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.                                    
2. Run-time check mode (-r or --run): Use this mode to determine if a distro    
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
has the proper dependencies installed to successfully run.                      
3. Both compile- and run-time check mode (-b or --both) (Default): This mode    
will check both of the above cases (both compile- and run-time dependencies).   

Saving output in log file: hp-check.log

Initializing. Please wait...
 
---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux laptop 2.6.31.5-127.fc12.i686 #1 SMP Sat Nov 7 21:41:45 EST 2009 i686 i686 i386 GNU/Linux

Distribution:
fedora 12

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.5.4 installed.

Checking for CUPS...
Status: le programmateur s'exécute
Version: 1.4.1
warning: /etc/cups/cupsd.conf file not found or not accessible.

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0


------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.


----------------------
| HPLIP INSTALLATION |
----------------------


Currently installed HPLIP version...
HPLIP 3.9.10 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.9.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.9.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=no
cups-drv-install=no
cups-ppd-install=no
internal-tag=3.9.10.72
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables. 

[plugin]
installed=0
eula=0



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = 
working_dir = .
device_uri = 

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[installation]
version = 3.9.10.72
date_time = 22/11/2009 12:26:32

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address = 
voice_phone = 

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
device_list = 
interval = 5



--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
Deskjet-F2400-series 
----------------------
Type: Printer
Device URI: hp:/usb/Deskjet_F2400_series?serial=CN97L1G0M705BS

HP Linux Imaging and Printing System (ver. 3.9.10)
System Tray Status Service ver. 2.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:122: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x883c8d0)" of type `GString'
error: Unable to communicate with device (code=12): hp:/usb/Deskjet_F2400_series?serial=CN97L1G0M705BS
error: Device not found
error: Communication status: Failed


----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
 
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).


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.


 
---------------
| USER GROUPS |
---------------

julien


-----------
| SUMMARY |
-----------

error: 3 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html


Done.
Que faire ?
Bonjour,

pourquoi avoir installé cette version d'HPLIP alors que Fedora propose dans les dépôts une version ... Fonctionnelle ?
Bonjour,
Pikachu_2014 wrote:Bonjour,

pourquoi avoir installé cette version d'HPLIP alors que Fedora propose dans les dépôts une version ... Fonctionnelle ?
Fonctionnelle ? Bof, ma Deskjet 5550 est reconnue, mais pas de pilote dans la base de donnée de HP !
Et pourtant j'avais tout installé ( hpijs-1:3.9.8.21.fc12.x86_64, hplip-3.9.8.21.fc12.x86_64, hplip-common-3.9.8.21.fc12.x86, plip-gui-3.9.8.21.fc12.x86_64, hplip-libs-3.9.8.21.fc12.x86_64 )
Pour imprimer, j'ai dû désinstaller tous ces rpm et laisser F12 redétecter mon imprimante au reboot. Ainsi pas de problèmes. Mais pas les fonctionnalités de Hplip !
J'avais eu le même souci avec F11.
Fifi wrote:Bonjour,
Pikachu_2014 wrote:Bonjour,

pourquoi avoir installé cette version d'HPLIP alors que Fedora propose dans les dépôts une version ... Fonctionnelle ?
Fonctionnelle ? Bof, ma Deskjet 5550 est reconnue, mais pas de pilote dans la base de donnée de HP !
Et pourtant j'avais tout installé ( hpijs-1:3.9.8.21.fc12.x86_64, hplip-3.9.8.21.fc12.x86_64, hplip-common-3.9.8.21.fc12.x86, plip-gui-3.9.8.21.fc12.x86_64, hplip-libs-3.9.8.21.fc12.x86_64 )
Pour imprimer, j'ai dû désinstaller tous ces rpm et laisser F12 redétecter mon imprimante au reboot. Ainsi pas de problèmes. Mais pas les fonctionnalités de Hplip !
J'avais eu le même souci avec F11.
Tu as écris un rapport de bogue à ce sujet ? Pour citer un membre éminent de ce forum : « si c'est pas sur le Bugzilla, c'est pas un bug ! ».
Parce que la 3.9.8 ne reconnait pas mon imprimante. C'est seulement depuis la 3.9.10
Dans le titre, HP DeskJet F2480
Pikachu_2014 wrote:
Fifi wrote:Bonjour,
Pikachu_2014 wrote:Bonjour,

pourquoi avoir installé cette version d'HPLIP alors que Fedora propose dans les dépôts une version ... Fonctionnelle ?
Fonctionnelle ? Bof, ma Deskjet 5550 est reconnue, mais pas de pilote dans la base de donnée de HP !
Et pourtant j'avais tout installé ( hpijs-1:3.9.8.21.fc12.x86_64, hplip-3.9.8.21.fc12.x86_64, hplip-common-3.9.8.21.fc12.x86, plip-gui-3.9.8.21.fc12.x86_64, hplip-libs-3.9.8.21.fc12.x86_64 )
Pour imprimer, j'ai dû désinstaller tous ces rpm et laisser F12 redétecter mon imprimante au reboot. Ainsi pas de problèmes. Mais pas les fonctionnalités de Hplip !
J'avais eu le même souci avec F11.
Tu as écris un rapport de bogue à ce sujet ? Pour citer un membre éminent de ce forum : « si c'est pas sur le Bugzilla, c'est pas un bug ! ».
Non, mais je le faire. Comme je n'ai jamais fait ça auparavant, faut d'abord que je documente sur la procédure Bugzilla ...! 🙂
0Lien wrote:Dans le titre, HP DeskJet F2480
Probablement le même problème que moi !
Bon, c'est à n'y rien comprendre. J'ai passé l'après midi à me coltiner ce problème et il est maintenant résolu.
Alors je ne sais pas trop, je suis allé bidouiller deux/trois trucs.

Primo j'ai viré hplip et l'ai réinstallé, cependant pas en "automatic" mais en "custom". J'ai choisi les services qui allaient me servir ou non.
Puis dans "/etc/cups/printers.conf" j'ai remplacé

Filter application/vnd.cups-postscript 100 foomatic-rip-hplip
Filter application/vnd.cups-pdf 0 foomatic-rip-hplip

par

Filter application/vnd.cups-postscript 100 foomatic-rip
Filter application/vnd.cups-pdf 0 foomatic-rip

car j'ai constaté que dans /usr/lib/cups/filter on avait un lien symbolique vers foomatic-rip dans /usr/bin, mais pas de foomatic-rip-hplip.

J'ai relancé cups
su -c "/etc/init.d/cups restart"
Redémarré, lancé Applications > Accessoires > HP Device Manager et cliqué sur 'Refresh'.
J'ai tout de suite lancé une impression, et là ça a marché.

Bon ne me demandez pas si tout ce que j'ai fais est certifié, j'ai essayé divers trucs et ça a marché. Le fait est là. En espérant que ça en aidera d'autres au cas où ...

EDIT : Je n'arrive pas à mettre le post en [Résolu] ... Un modérateur peut il le faire ?