login
Sat 25 of Nov, 2017 (05:28 UTC)

[root@madeira.eng.br ~]#

Linux - It is now safe to turn on your computer

atualizar cache imprimir

Cups Erro: stopped "/usr/lib/cups/filter/hpcups failed"

Criada por: Frederico Madeira, última modificação em: Tue 21 of Apr, 2015 (22:37 UTC)
hpcups_failed.png
Ao tentar imprimir no meu servidor CUPS usando uma impressora HP, meus Jobs ficavam com o status abaixo:

Cups Erro: stopped "/usr/lib/cups/filter/hpcups failed"

Unknown Image

Para resolver esse erro, é necessário instalar o pacote hplip-3.12.4-6.el6.x86_64 que pela descrição do pacote tem por função:

Description :
The Hewlett-Packard Linux Imaging and Printing Project provides drivers for HP printers and multi-function peripherals.

Basta executar o comando abaixo

[root@matheus ~]# yum -y install hplip

[root@matheus ~]# hp-check-plugin 
Saving output in log file: /var/log/hp/hplip_ac.log
hp-systray is not running.
error:  hp-systray must be running.
 Run 'hp-systray &' in a terminal. 
\HP Device Plug-in is not found.
error: Run hp-systray manually and re-plugin printer

Done.


Vamos adicionar agora a impressora:

[root@matheus ~]# hp-setup -i

HP Linux Imaging and Printing System (ver. 3.12.4)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-14 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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num       Connection  Description                                               
            Type                                                                  
  --------  ----------  ----------------------------------------------------------
  0*        usb         Universal Serial Bus (USB)                                
  1         net         Network/Ethernet/Wireless (direct connection or JetDirect)
  2         par         Parallel Port (LPT:)                                      

Enter number 0...2 for connection type (q=quit, enter=usb*) ? 

Using connection type: usb

Using device: hp:/usb/Photosmart_C4600_series?serial=BR098FF0FW05G0


Setting up device: hp:/usb/Photosmart_C4600_series?serial=BR098FF0FW05G0



---------------------
| PRINT QUEUE SETUP |
---------------------


Please enter a name for this print queue (m=use model name:'Photosmart_C4600'*, q=quit) ?
Using queue name: Photosmart_C4600
Locating PPD file... Please wait.
warning: No PPD found for model photosmart_c4600 using new algorithm. Trying old algorithm...

Found PPD file: drv:///hp/hpcups.drv/hp-photosmart_c4200_series.ppd
Enter a location description for this printer (q=quit) ?drv:///hp/hpcups.drv/hp-photosmart_c4200_series.ppd
Enter additonal information or notes for this printer (q=quit) ?

Adding print queue to CUPS:
Device URI: hp:/usb/Photosmart_C4600_series?serial=BR098FF0FW05G0
Queue name: Photosmart_C4600
PPD file: drv:///hp/hpcups.drv/hp-photosmart_c4200_series.ppd
Location: drv:///hp/hpcups.drv/hp-photosmart_c4200_series.ppd
Information: 
 

---------------------
| PRINTER TEST PAGE |
---------------------


Would you like to print a test page (y=yes*, n=no, q=quit) ? 
warning: hp-testpage should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.12.4)
Testpage Print Utility ver. 6.0

Copyright (c) 2001-14 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.

warning: No display found.
error: hp-testpage -u/--gui requires Qt4 GUI support. Entering interactive mode.
Printing test page to printer Photosmart_C4600...
Test page has been sent to printer.

note: If an error occured, or the test page failed to print, refer to the HPLIP website
note: at: http://hplip.sourceforge.net for troubleshooting and support.


Done.



Instalando o plugin:

[root@matheus ~]# hp-plugin -i

HP Linux Imaging and Printing System (ver. 3.12.4)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-14 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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)

/
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.12.4 |
-----------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recomended)             
  p           Specify a path to the plug-in (advanced)          
  q           Quit hp-plugin (skip installation)                

Enter option (d=download*, p=specify path, q=quit) ? d

--------------------------
| DOWNLOAD CONFIGURATION |
--------------------------

Checking for network connection...
Downloading configuration file from: http://hplip.sf.net/plugin.conf
Downloading configuration: [\                             ] 0%     

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from: http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.12.4-plugin.run
Downloading plug-in: [\                                   ] 0%   Receiving digital keys: /usr/bin/gpg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0xA59047B9
 

----------------------
| INSTALLING PLUG-IN |
----------------------

Verifying archive integrity... All good.
Uncompressing HPLIP 3.12.4 Plugin Self Extracting Archive.........................................

HP Linux Imaging and Printing System (ver. 3.12.4)
Plugin Installer ver. 3.0

Copyright (c) 2001-14 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.

Plug-in version: 3.12.4
Installed HPLIP version: 3.12.4
Number of files to install: 36

You must agree to the license terms before installing the plug-in:


Basta reiniciar o cups e enviar o documento para a impressora.

Comentários