0% found this document useful (0 votes)
20 views8 pages

HPLIP

HPLIP saiba como instalar

Uploaded by

pjuniorrj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views8 pages

HPLIP

HPLIP saiba como instalar

Uploaded by

pjuniorrj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Dar o comando sudo apt-get update e apt-get upgrade antes de iniciar a faina no terminal!!!!

Salve os dois arquivos numa pasta (documentos, por exemplo)

Entre na pasta onde você colocou os dois arquivos. Clique com botão direito do mouse, “abrir no
terminal”

1- Intalar primeiro o hplip-3.21.2.run conforme procedimento abaixo.


Após finalizar, reinicie o PC, entre como root e instale o hplip-3.21.2-plugin.run

======================================================================

$ su usuario administrador da ET
Senha:
usuario administrador da ET@1BOPRIB-XXX:/home/04114159/Documentos$ sudo su

root@1BOPRIB-XXX:/home/04114159/Documentos# apt-get install libcanberra-gtk-module


libcanberra-gtk3-module

root@1BOPRIB-XXX:/home/04114159/Documentos# sh hplip-3.21.2.run
Creating directory hplip-3.21.2
Verifying archive integrity... All good.
Uncompressing HPLIP 3.21.2 Self Extracting
Archive...................................................................................................................................................
................................................................................................................................................................
................................................................................................................................................................
................................................................................................................................................................
................................................................................................................................................................
................................................................................................................................................................
................................................................................................................................................................
warning: hplip-install should not be run as root.

HP Linux Imaging and Printing System (ver. 3.21.2)


HPLIP Installer ver. 5.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.

Installer log saved in: hplip-install_Thu-11-Apr-2019_14:28:35.log

\error: You are running the installer as root. It is highly recommended that you run the installer as
error: a regular (non-root) user. Do you still wish to continue?
Continue with installation (y=yes, n=no*, q=quit) ? y

note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
INSTALLATION MODE
------------------------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a

INTRODUCTION
----------------------
This installer will install HPLIP version 3.19.3 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 16.04.

Is "Ubuntu 16.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

Initializing. Please wait...

INSTALLATION NOTES
-------------------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main"
Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information.
Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the
drive.

Please read the installation notes. Press <enter> to continue or 'q' to quit:

SECURITY PACKAGES
------------------------------
AppArmor is installed.
AppArmor protects the application from external intrusion attempts making the application secure

Would you like to have this installer install the hplip specific policy/profile (y=yes*, n=no,
q=quit) ? y

RUNNING PRE-INSTALL COMMANDS


---------------------------------------------------
OK

MISSING DEPENDENCIES
-----------------------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are
not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not
installed.
Package-Name Component Required/Optional
libcrypto network REQUIRED
libnetsnmp-devel network REQUIRED
sane-devel scan REQUIRED
pil scan OPTIONAL
pyqt4-dbus gui_qt4 REQUIRED
python-devel base REQUIRED
cups-devel base REQUIRED
python-dbus fax REQUIRED
reportlab fax OPTIONAL
pyqt4 gui_qt4 REQUIRED
libusb base REQUIRED
libtool base REQUIRED
cups-image base REQUIRED
python-notify gui_qt4 OPTIONAL
xsane scan OPTIONAL
libjpeg base REQUIRED
dbus fax REQUIRED
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y

INSTALL MISSING REQUIRED DEPENDENCIES


----------------------------------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: python-devel (Python devel - Python development
files)
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing
System development files)
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development
files)
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)
warning: Missing REQUIRED dependency: libcrypto (libcrypto - OpenSSL cryptographic library)
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP
networking library development files)
warning: Missing REQUIRED dependency: pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)
warning: Missing REQUIRED dependency: pyqt4 (PyQt 4- Qt interface for Python (for Qt version
4.x))
warning: Missing REQUIRED dependency: python-dbus (Python DBus - Python bindings for
DBus)
warning: Missing REQUIRED dependency: dbus (DBus - Message bus system)
warning: Missing REQUIRED dependency: sane-devel (SANE - Scanning library development
files)

INSTALL MISSING OPTIONAL DEPENDENCIES


---------------------------------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'gui_qt4': python-notify (Python libnotify -
Python bindings for the libnotify Desktop notifications)
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for
Python)
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library
(required for commandline scanning with hp-scan))
warning: Missing OPTIONAL dependency for option 'scan': xsane (xsane - Graphical scanner
frontend for SANE)

CHECKING FOR NETWORK CONNECTION

(isso demora muito. Muito mesmo. Tome um café. Depois aparecerá a msg abaixo)
----------------------------------------------------------
error: The network appears to be unreachable. Installation may not resolve all dependencies without
access to distribution repositories.
Do you want to continue installation without network?. Press 'y' for YES. Press 'n' for NO (y=yes*,
n=no) : y

RUNNING PRE-PACKAGE COMMANDS


-----------------------------------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK

DEPENDENCY AND CONFLICT RESOLUTION


----------------------------------
Running 'sudo apt-get install --assume-yes python-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libcups2-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups-bsd'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups-client'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libusb-1.0.0-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libusb-0.1-4'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libtool'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libtool-bin'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libcupsimage2-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes openssl'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libsnmp-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes snmp-mibs-downloader'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-qt4-dbus'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes gtk2-engines-pixbuf'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-qt4'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-dbus'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-gobject'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libdbus-1-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libsane-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-reportlab'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-imaging'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes gtk2-engines-pixbuf'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes xsane'
Please wait, this may take several minutes...
HPLIP-3.16.3 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)? :i (atenção)
Starting uninstallation...
HPLIP uninstallation is completed

RUNNING POST-PACKAGE COMMANDS


-------------------------------------------------------
OK

RE-CHECKING DEPENDENCIES
-------------------------------------------

RUNNING SCANJET DEPENDENCY COMMANDS


-------------------------------------------------------------------
sudo apt-get install --assume-yes python-pip (Scanjet-depend step 1)
sudo pip install --upgrade pip (Scanjet-depend step 2)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 3)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 4)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 5)
sudo -H pip install tesserocr (Scanjet-depend step 6)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo apt-get install --assume-yes libzbar-dev (Scanjet-depend step 7)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo apt-get install --assume-yes python-zbar (Scanjet-depend step 8)
sudo apt-get install --assume-yes python-opencv (Scanjet-depend step 9)
sudo apt-get install --assume-yes python-pypdf2 (Scanjet-depend step 10)
sudo -H pip install imutils (Scanjet-depend step 11)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip install pypdfocr (Scanjet-depend step 12)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip install scikit-image (Scanjet-depend step 13)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip install scipy (Scanjet-depend step 14)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
OK

PRE-BUILD COMMANDS
----------------------------------
OK

BUILD AND INSTALL


-----------------------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --enable-qt4
--disable-qt5 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-
libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-class-driver --disable-
udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-
network-build --enable-dbus-build --enable-scan-build --enable-fax-build --enable-apparmor_build'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make clean'


Please wait, this may take several minutes...
Command completed successfully.

Running 'make'
Please wait, this may take several minutes...
Command completed successfully.

Running 'sudo make install'


Please wait, this may take several minutes...
Command completed successfully.

Build complete.
POST-BUILD COMMANDS
-----------------------------------

CLOSE HP_SYSTRAY
----------------------------
Sending close message to hp-systray (if it is currently running)...
OK

HPLIP UPDATE NOTIFICATION


-----------------------------------------
Do you want to check for HPLIP updates?. (y=yes*, n=no) : n (não!!!!)

RESTART OR RE-PLUG IS REQUIRED


--------------------------------------------------
If you are installing a USB connected printer, and the printer was plugged in
when you started this installer, you will need to either restart your PC or
unplug and re-plug in your printer (USB cable only). If you choose to restart,
run this command after restarting: hp-setup (Note: If you are using a parallel
connection, you will have to restart your PC. If you are using network/wireless,
you can ignore and continue).

Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : r


note:
note: IMPORTANT! Make sure to save all work in all open applications before restarting!
Restart now (y=yes, n=no*, q=quit) ? Y

==============================================================

INSTALANDO O PLUGIN DO SCANNER NO UBUNTU

1- Após instalar o hplip.3.21.2.run, reinicie o PC e faça login como administrator (adminstrador do


Domínio, não local)

2- Abra o terminal estando na pasta onde está o plugin. Como usuário administrator (não root),
digite:

$ sh hplip-3.21.2-plugin.run
clique em aceitar na janela que se abrirá e pronto.
6- Agora procure pelo aplicativo “Digitalizador Simples”. Em cima, no menu, Abrir preferências e
selecione a impressora que desejar.

7- Se a impressora não aparecer, repita o passo 5.

======================================================================
Notas:
O arquivo do plugin deve ser exatamente da mesma versão do hplip.
É importante que a instalação ocorra com a máquina conectada a Recim.

Sempre obedecer a ordem: primeiro o hplip... depois o plugin.

You might also like