Autor Tópico: Como instalar impressora HP LaserJet P1102w no Ubuntu 18.04 LTS  (Lida 7236 vezes)

Offline Bertozzi72

  • Usuário Ubuntu
  • *
  • Mensagens: 69
    • Ver perfil
Como instalar impressora HP LaserJet P1102w no Ubuntu 18.04 LTS
« Online: 23 de Abril de 2019, 22:47 »
Não estou conseguindo instalar a impressora HP LaserJet P1102w no Ubuntu 18.04.

Segui os comandos deste link (https://elias.praciano.com/2014/04/como-instalar-sua-impressora-hp-no-linux-usando-o-hplip/) mas na hora que abre o HP Device Manager - Plug-in Installer dá erro ("plugin install failed") e não instala o plugin desta impressora.

Nesta máquina tenho instalado o Kubuntu 18.04 LTS e nele consegui instalar esta impressora.

Gostaria de uma ajuda desta comunidade para poder instalar esta impressora no Ubuntu 18.04.

Segue tela do terminal para análise:
Código: [Selecionar]
HP Linux Imaging and Printing System (ver. 3.19.3)
Plugin Download and Install Utility ver. 2.1

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


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

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

Checking for network connection...
Downloading plug-in from:
Receiving digital keys: /usr/bin/gpg --homedir /home/reginaldo/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.3 Plugin Self Extracting Archive..............................................................

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

Copyright (c) 2001-18 HP 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.19.3
Installed HPLIP version: 3.19.3
Number of files to install: 64

Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.

Done.
« Última modificação: 23 de Abril de 2019, 22:49 por Bertozzi72 »
Guia da Foca (FOnte de Consulta e Aprendizado): http://www.guiafoca.org

Offline Bertozzi72

  • Usuário Ubuntu
  • *
  • Mensagens: 69
    • Ver perfil
Re:Como instalar impressora HP LaserJet P1102w no Ubuntu 19.04
« Resposta #1 Online: 29 de Abril de 2019, 16:58 »
Até o momento não consegui instalar esta impressora no Ubuntu.

Instalei a versão 19.04 do Ubuntu do zero e nem assim estou conseguindo.

Segui os passos deste link (https://www.edivaldobrito.com.br/drivers-da-hp-com-hplip/) e nem assim está dando certo.

Seguem as linhas de código do terminal:

Código: [Selecionar]
reginaldo@starwars:~$ hp-setup

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

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

Gtk-Message: 16:43:18.322: Failed to load module "gail"
Gtk-Message: 16:43:18.451: Failed to load module "canberra-gtk-module"

** (python3:3335): WARNING **: 16:43:18.451: (../atk-adaptor/bridge.c:993):atk_bridge_adaptor_init: runtime check failed: (root)
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=usb, search=(None), desc=0)
 
HP Linux Imaging and Printing System (ver. 3.19.3)
Plugin Download and Install Utility ver. 2.1

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


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

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

Gtk-Message: 16:46:16.993: Failed to load module "gail"
Gtk-Message: 16:46:17.018: Failed to load module "canberra-gtk-module"

** (python3:4079): WARNING **: 16:46:17.018: (../atk-adaptor/bridge.c:993):atk_bridge_adaptor_init: runtime check failed: (root)
Checking for network connection...
Downloading plug-in from:
Receiving digital keys: /usr/bin/gpg --homedir /home/reginaldo/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.3 Plugin Self Extracting Archive.Extraction failed.
Terminated
error: Python gobject/dbus may be not installed
/
gzip: stdout: Broken pipe
error: Plug-in install failed.

Done.
error:  The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins.  Please run 'hp-plugin' as normal user to install plug-ins.   Visit  http://hplipopensource.com  for more infomation.

Done.
reginaldo@starwars:~$

Alguém teria alguma dica de como eu poderia instalar esta impressora no Ubuntu?

Tentei usar o seguinte comando que consta do link acima:
Código: [Selecionar]
sudo apt-get install --assume-yes libcups2 cups libcups2-dev cups-bsd cups-client libcupsimage2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg62-dev libsnmp-dev libtool libusb-dev python-imaging policykit-1 policykit-1-gnome python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify python python-reportlab libsane libsane-dev sane-utils xsane
E teve a seguinte resposta:

Código: [Selecionar]
reginaldo@starwars:~$ sudo apt-get install --assume-yes libcups2 cups libcups2-dev cups-bsd cups-client libcupsimage2-dev libdbus-1-dev build-essential ghostscript openssl libjpeg62-dev libsnmp-dev libtool libusb-dev python-imaging policykit-1 policykit-1-gnome python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify python python-reportlab libsane libsane-dev sane-utils xsane
[sudo] senha para reginaldo:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
O pacote python-imaging não está disponível, mas é referenciado por outro pacote.
Isto pode significar que o pacote está faltando, ficou obsoleto ou
está disponível somente a partir de outra fonte
No entanto, os pacotes a seguir o substituem:
  python-pil:i386 python-pil

E: O pacote 'python-imaging' não tem candidato para instalação
reginaldo@starwars:~$
Guia da Foca (FOnte de Consulta e Aprendizado): http://www.guiafoca.org

Offline joãobritodesouza

  • Usuário Ubuntu
  • *
  • Mensagens: 173
    • Ver perfil
Re:Como instalar impressora HP LaserJet P1102w no Ubuntu 18.04 LTS
« Resposta #2 Online: 12 de Julho de 2019, 11:02 »
Caro Bertozzi71
Você tem quer seguir alguns passos.
Primeiro) Baixe o hplip mais atual.
Segundo) Entre no synaptic e instale os pacotes adicionais, abaixo um por um.
    • cups
    • cups-bsd
    • cups-client
    • cups-common
    • cups-driver-gutenprint
    • foomatic-db  (Não pode instalar ubuntu)
    • foomatic-db-engine
    • foomatic-db-gutenprint
    • foomatic-filters (Não pode instalar ubuntu)
    • ghostscript-cups
    • hpijs
    • hplip
    • hplip-cups ?
    • hplip-data ?
    • hpijs
    • hpijs-ppds
    • openprinting-ppds
    • pxljr ?
    • python-cups
    • python-cupshelpers ?
    • libgnomeprint (para gnome)
    • libgnomeprintui (para gnome)
    • printer-applet (para KDE)

Os pacotes abaixo farão o "trabalho sujo" para você. Instalá-los é fundamental:
    • system-config-printer-common
    • system-config-printer-udev
    • system-config-printer-gnome (opcional, para gnome)
    • system-config-printer-kde (opcional, para KDE)

O pacote que permite detecção automática de sua impressora. Instalá-lo é sinônimo quase certo de sucesso:
    • hal-cups-utils

Para a impressão direta em pdf, substituindo qualquer impressora, o pacote abaixo é uma mão na roda:
    • cups-pdf
Pacotes Adicionais

dbus
dbus-dbg
dbus-doc
Libcrypto e todas dependências
Libusb e todas dependências
libtool e todas dependências
libnestnmp (libnet-snmp-perl)
sane-devel
xsane
Terceiro) abra um Terminal, entre como superusuario, entre na pasta Downloads, ou outra pasta que você tenha baixado o hplip e digite "sh hplip.xxxx ( no lugar do x copie igualzinho ao que você baixou) e depois e so seguir dando permissões no terminal Y(sim), aceito, etc.
Quarto) Boa impressão.