Forum › Forums › General › Other Languages › Portuguese › Instalação da Impressora HP LaserJet M1132 MFP
- This topic has 6 replies, 4 voices, and was last updated Sep 9-9:56 pm by marcosgomes.
-
AuthorPosts
-
September 8, 2021 at 8:42 pm #66724Member
marcelocripe
Olá caros,
Eu preciso de ajuda com a instalação da Impressora HP LaserJet M1132 MFP no antiX identificado abaixo:
$ inxi -Fnz
System:
Kernel: 5.8.16-antix.1-amd64-smp x86_64 bits: 64 Desktop: IceWM 2.7.0
Distro: pseudo-antiX-19.3_x64 Manolis Glezos 20 January 2021
Machine:
Type: Desktop Mobo: ASUSTeK model: H61M-A/BR v: Rev X.0x serial: <filter>
BIOS: American Megatrends v: 0503 date: 06/24/2014
CPU:
Info: Dual Core model: Intel Core i3-3220T bits: 64 type: MT MCP cache:
L2: 3 MiB
Speed: 2191 MHz min/max: 1600/2800 MHz Core speeds (MHz): 1: 2191 2: 2402
3: 2795 4: 2793
Graphics:
Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics
driver: i915 v: kernel
Display: x11 server: X.Org 1.20.4 driver: loaded: modesetting
unloaded: fbdev,vesa resolution: 1280×1024~60Hz
OpenGL: renderer: Mesa DRI Intel Ivybridge Desktop v: 4.2 Mesa 18.3.6
Audio:
Device-1: Intel 6 Series/C200 Series Family High Definition Audio
driver: snd_hda_intel
Sound Server-1: ALSA v: k5.8.16-antix.1-amd64-smp running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 931.51 GiB used: 7.48 GiB (0.8%)
ID-1: /dev/sda vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB
Partition:
ID-1: / size: 39.12 GiB used: 5.65 GiB (14.4%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 868.64 GiB used: 1.83 GiB (0.2%) fs: ext4 dev: /dev/sda2
Swap:
ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) dev: /dev/sda3
Sensors:
System Temperatures: cpu: 29.8 C mobo: 27.8 C
Fan Speeds (RPM): N/A
Info:
Processes: 148 Uptime: 8m Memory: 3.72 GiB used: 916.7 MiB (24.1%)
Shell: Bash inxi: 3.3.06
marcos@antix1:~
$O que eu fiz até o momento, com o Synaptic instalei o pacote hplip-gui, o processo de instalação ocorreu com sucesso. Foi criado o menu HPLIP Toolbox no menu submenu Preferências, quando eu clico sobre este menu, o ícone da HP surge na bandeja do sistema ou tabuleiro do sistema.
Clicando no ícone da HP bandeja do sistema, na opção HP Device Manager …, surge a janela do processo de instalação, conforme a sequencia de imagens abaixo:https://ibb.co/mb4thft https://ibb.co/G0M9QJC https://ibb.co/X5SYrjZ https://ibb.co/vQjSJzq https://ibb.co/DRCtyNG https://ibb.co/CHCmk8z https://ibb.co/DrQTVmH https://ibb.co/y5QcSfgApós eu tentar instalar o Plug-in através da interface gráfica e receber a informação de que a instalação ocorreu com sucesso, mesmo assim a impressora HP LaserJet M1132 MFP não é exibida na lista de dispositivos.
Em seguida tentei via comandos no terminal:
marcos@antix1:~
$ lsusb
Bus 002 Device 007: ID 03f0:042a HP, Inc LaserJet M1132 MFP
Bus 002 Device 004: ID 1a2c:2d23 China Resource Semico Co., Ltd
Bus 002 Device 003: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
marcos@antix1:~
$marcos@antix1:~
$ hp-setupHP Linux Imaging and Printing System (ver. 3.18.12)
Printer/Fax Setup Utility ver. 9.0Copyright (c) 2001-15 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.Searching… (bus=usb, search=(None), desc=0)
HP Linux Imaging and Printing System (ver. 3.18.12)
Plugin Download and Install Utility ver. 2.1Copyright (c) 2001-15 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.18.12)
Plugin Download and Install Utility ver. 2.1Copyright (c) 2001-15 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:
warning: antix distro is not found in AUTH_TYPES
Receiving digital keys: /usr/bin/gpg –homedir /home/marcos/.hplip/.gnupg –no-permission-warning –keyserver pgp.mit.edu –recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity… All good.
Uncompressing HPLIP 3.18.12 Plugin Self Extracting Archive…………………………………………………HP Linux Imaging and Printing System (ver. 3.18.12)
Plugin Installer ver. 3.0Copyright (c) 2001-15 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.18.12
Installed HPLIP version: 3.18.12
Number of files to install: 55note: Using PyQt5
warning: antix distro is not found in AUTH_TYPESDone.
Plug-in installation successfulDone.
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.HP Linux Imaging and Printing System (ver. 3.18.12)
Plugin Download and Install Utility ver. 2.1Copyright (c) 2001-15 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.18.12)
Plugin Download and Install Utility ver. 2.1Copyright (c) 2001-15 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.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.
marcos@antix1:~
$Mesmo eu tetando realizar o processo via terminal, a impressora HP LaserJet M1132 MFP não foi exibida na lista de dispositivos.
Por acaso será útil marcar o cups na inicilização do antiX? Conforme a imagem abaixo:
https://ibb.co/MDnS8pjEu encontrei utilizar este tutorial da HP:
https://h30487.www3.hp.com/t5/Dicas-dos-Experts-para-Impressoras/Instalando-impressoras-HP-em-ambiente-Linux-via-CUPS-e-HP/m-p/383531/highlight/true#M207Baixei do HPLIP:
https://sourceforge.net/projects/hplip/files/hplip/3.13.8/hplip-3.13.8.run/download?use_mirror=ufpr&r=http%3A%2F%2Fhplipopensource.com%2Fhplip-web%2Fgethplip.html&use_mirror=softlayer-dal https://ufpr.dl.sourceforge.net/project/hplip/hplip/3.13.8/hplip-3.13.8.run hplip-3.13.8.runNo terminal:
marcos@antix1:~/Downloads
$ chmod 777 hplip-3.13.8.run
marcos@antix1:~/Downloads
$marcos@antix1:~
$ whereis CUPS
CUPS:
marcos@antix1:~
$root@antix1:/etc/cups# ./hplip-3.13.8
bash: ./hplip-3.13.8: Arquivo ou diretório inexistente
root@antix1:/etc/cups# ./hplip-3.13.8.run
Creating directory hplip-3.13.8
Verifying archive integrity… All good.
Uncompressing HPLIP 3.13.8 Self Extracting Archive…………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………..
warning: hplip-install should not be run as root.HP Linux Imaging and Printing System (ver. 3.13.8)
HPLIP Installer ver. 5.1Copyright (c) 2001-13 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.Installer log saved in: hplip-install_Wed-08-Sep-2021_16:34:27.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) ? ynote: Defaults for each question are maked with a ‘*’. Press <enter> to accept the default.
error: debian-10 version is not supported, so all dependencies may not be installed. However trying to install using debian-7.1 version packages.Press ‘y’ to continue auto installation. Press ‘n’ to quit auto instalation(y=yes, n=no*): y
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
Initializing. Please wait…
INTRODUCTION
————
This installer will install HPLIP version 3.13.8 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).DISTRO/OS CONFIRMATION
———————-
Distro appears to be Debian 10.Is “Debian 10” your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
INSTALLATION NOTES
——————
NOTE: Disable the CD Sources in your apt sources.list or the install will fail and hang.Please read the installation notes. Press <enter> to continue or ‘q’ to quit:
RUNNING PRE-INSTALL COMMANDS
—————————-
OKINSTALL MISSING REQUIRED DEPENDENCIES
————————————-
warning: There are 8 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
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: gcc (gcc – GNU Project C and C++ Compiler)
warning: Missing REQUIRED dependency: libjpeg (libjpeg – JPEG library)
warning: Missing REQUIRED dependency: libpthread (libpthread – POSIX threads library)
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)INSTALL MISSING OPTIONAL DEPENDENCIES
————————————-
warning: There are 10 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency for option ‘network’: libcrypto (libcrypto – OpenSSL cryptographic library)
warning: Missing REQUIRED dependency for option ‘network’: libnetsnmp-devel (libnetsnmp-devel – SNMP networking library development files)
warning: Missing OPTIONAL dependency for option ‘gui_qt4’: python-notify (Python libnotify – Python bindings for the libnotify Desktop notifications)
warning: Missing REQUIRED dependency for option ‘gui_qt4’: pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: Missing REQUIRED dependency for option ‘gui_qt4’: pyqt4-dbus (PyQt 4 DBus – DBus Support for PyQt4)
warning: Missing OPTIONAL dependency for option ‘fax’: reportlab (Reportlab – PDF library for Python)
warning: Missing REQUIRED dependency for option ‘fax’: dbus (DBus – Message bus system)
warning: Missing REQUIRED dependency for option ‘scan’: sane-devel (SANE – Scanning library development files)
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
——————————-
Network connection present.RUNNING PRE-PACKAGE COMMANDS
—————————-
su -c “dpkg –configure -a” (Pre-depend step 1)
su -c “apt-get install -f” (Pre-depend step 2)
su -c “apt-get update” (Pre-depend step 3)
warning: An error occurred running ‘su -c “apt-get install –yes cupsys-bsd”‘
su -c “apt-get install –yes cupsys-bsd” (Pre-depend step 4)
OKDEPENDENCY AND CONFLICT RESOLUTION
———————————-
Running ‘su -c “apt-get install –force-yes -y libusb-1.0.0-dev”‘
Please wait, this may take several minutes…
Running ‘su -c “apt-get install –force-yes -y libtool”‘
Please wait, this may take several minutes…
Running ‘su -c “apt-get install –force-yes -y libcupsimage2″‘
Please wait, this may take several minutes…
Running ‘su -c “apt-get install –force-yes -y libcupsimage2-dev”‘
Please wait, this may take several minutes…
Running ‘su -c “apt-get install –force-yes -y g++”‘
Please wait, this may take several minutes…
Running ‘su -c “apt-get install –force-yes -y libjpeg8-dev”‘
Please wait, this may take several minutes…
error: Command failed. Re-try #1…
Running ‘su -c “apt-get install –force-yes -y libjpeg8-dev”‘
Please wait, this may take several minutes…
error: Command failed. Re-try #2…
Running ‘su -c “apt-get install –force-yes -y libjpeg8-dev”‘
Please wait, this may take several minutes…
/^C
error: Aborted.root@antix1:/etc/cups#
Durante o processo eu indiquei a distro Debian, mas no final ocorreu falha.
Eu agradeço a quem puder me ajudar neste processo de instalação.
Grato.
marcelocripe
September 8, 2021 at 9:22 pm #66741MemberPPC
::Olá Marcelo
Tente o seguinte: instale, via instalador de pacotes o CUPS e depois pesquise lá também “HP”, existe lá o pacote HPLIP- ‘e o Hp printing extras, instale por lá.
Lembre-se que o instalador de pacotes instala e configura tudo… Só se não tiver lá algo é que devemos usar o synaptic (o synaptic é uma ferramente geral do Debian) o instalador de pacotes é uma ferramenta exclusiva do antiX/Mx Linux, não sei se faz alguma configuração que o synaptic/apt não faça)
A ordem é, como utilizador normal (usando “sudo”, se necessário)- tente o Instalador de Pacotes, se não tiver o que necessita, tente o Synaptic, e se lá não tiver o que necessita, aí, sim, tente instalar os pacotes manualmente…
Não instale nada como root!
Algumas das mensagens de erro, era indicado para, como utilizador normal (não root), executar o ‘hp-plugin’ para instalar os plugins em falta…Nota: era muito texto e estou demasiado cansado para ler tudo… Há cautela- tente desistalar o que instalou (pode haver coisas mal instaladas) e tente usar o instalador de pacotes… Reporte o resultado aqui, e se não correr bem, tentamos descobrir o que fazer a seguir…
P.
Edit: a minha impressora HP, que tenho no escritório, funciona só com o CUPS instalado, acho eu… Para usar o scanner, pode ser necessário instalar o sane, via synaptic/apt.
- This reply was modified 1 year, 8 months ago by PPC.
- This reply was modified 1 year, 8 months ago by PPC.
September 9, 2021 at 12:55 am #66769Member
marcelocripe
::Olá PPC,
Obrigado por responder.
Eu havia ido até o Marcos com o objetivo de atualizar os menus do primeiro nível revisados em pt-BR, incluir o arquivo .mo do AppSelect e atualizar o .mo do SpaceFM. Aí, eu me deparei com esta situação, foi a primeira vez que eu não consegui instalar e fazer funcionar um impressora no antiX. Todas as outras impressoras e digitalizadores HP, eu consegui fazer funcionar com o pacote hplip-gui.
O pacote “Hp printing” eu não conheço. Precisarei testar.
Eu instalei com o Synaptic o pacote hplip-gui, o hplip foi instalado junto com a GUI, o cups eu não tenho certeza se foi instalado junto com o hplip-gui, eu vou precisar verificar com o Synaptic.
Eu recebi a mensagem de que o plugin foi instalado com sucesso várias vezes, mas mesmo assim a impressora não é exibida na lista de dispositivos do HPLIP Toolbox (é o ícone que fica na bandeja do sistema ou tabuleiro do sistema).
Assim que for possível, eu retorno neste tópico com estas informações sobre os pacotes que você recomendou, ou quem sabe o próprio Marcos posta estas informações aqui.
September 9, 2021 at 8:44 am #66777Member
Xecure
::Sorry for publishing in English, but when I translate this to Portuguese the commands also get translated, so please forgive me for this.
General instructions:
0. Check if cups is running (sysvinit)
service cups status
Restart cups (even if properly running)sudo service cups stop sudo service cups start1. Turn the printer on (don’t connect yet).
2. Once the printer is on, connect the printer to the USB port of the computer.
3. Go to Control Centre > Hardare > Print Settings.
4. Click the “Plus” icon and install the generic printer with USB connection. Follow the stepsIf an HP printer, install hplip-gui.
sudo apt install hplip-gui
1. Install the printer as generic USB with hplip-gui.
2. Try printing a test page.If the printer doesn’t work after installation, then
0. Turn off the printer, disconnect, turn back on the printer, connect again.
1. Go to Control Centre > Hardware > Print Settings
2. Right click on the problematic printer, go to properties and try printing a test page.
If the test page doesn’t print or an error is reported, remove the printer by:
2. Select all printers (in case there are more than one erroneous configuration) and remove them one by one (right-click > Remove).For HP printers:
Second try for installing the HP printer with hp-setup (after removing the printer configuration).
1. (with the printer still on and connected) Open a terminal window and run
hp-setup -g
(the -g stands for print extra debugging information), to share here in the forum if there is a problem).
2. Follow the steps and Accept the license agreement.
3. If the plugin fails to install, run the plugin installer in terminal (with debug)
hp-plugin -g
(Note: a root password pop-up will be requested at some point during the installation, so give it your root password).
4. If there still is a “key server error” and the hp-plugin doesn’t download and install, please share the terminal output of the command above.
5. in the final step you can print a test page. This might fail, even though everything is OK (just try to print another, or use the same test page printing function with the program Print Settings).antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 9, 2021 at 9:02 am #66779Member
Xecure
::EDIT:
It seems the gpg key server is wrong in this version of hplip. Open in terminal the file
sudo geany /usr/share/hplip/base/validation.py
and replace the “pgp.mit.edu” gpg server entry with “keyserver.ubuntu.com”
Save and try again
hp-plugin -g
and see if the key server error appears again.antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 9, 2021 at 9:55 pm #66827Member
marcelocripe
::Olá PPC,
Eu verifiquei com o Synaptic, o hplip-gui instalou o hplip e o cups. O HP Printing extras do instalador de pacotes eu nunca havia utilizado. Infelizmente não funcionou a impressora HP Printing extras.
O processo que eu fiz utilizando o root foi devido ao tutorial do sítio da HP, mas eu estive analisando, o hplip-3.13.8.run não conhece a versão do Debian 10, somente as versões anteriores (7, 8 e 9). Eu apaguei a pasta hplip-3.13.8 que foi criada em /etc/cups quando eu executei o hplip-3.13.8.run.Hplip e hplip-gui
https://ibb.co/9rZ3S1ROlá Xecure,
Eu agradeço por você responder.
for publishing in English, but when I translate this to Portuguese the commands also get translated, so please forgive me for this.
Você, como de costume, é sempre extremamente gentil e prestativo com todas as pessoas, eu agradeço por nos ajudar com o processo de instalação da Impressora HP LaserJet M1132 MFP no antiX. Agora que este tópico está bilíngue, certamente ajudará outras pessoas que não sabem ler em idioma Português a encontrar este seu tutorial excelente.
marcos@antix1:~
$ service cups status
[FAIL] cupsd is not running … failed!
marcos@antix1:~
$ sudo service cups stop
[ ok ] Stopping Common Unix Printing System: cupsd.
marcos@antix1:~
$ sudo service cups start
[ ok ] Starting Common Unix Printing System: cupsd.
marcos@antix1:~
$Eu nunca utilizei este processo de instalação de impressora que você ensinou, eu espero conseguir fazer tudo corretamente. Eu fui no Centro de Controle> Equipamento > Configurações da Impressora, na janela a HP-LaserJet-Professional-M1132-MFP está marcada com um “V”. Cliquei no sinal de + (Mais) para Adicionar, selecionei Generic CUPS-BRF (não sei se é esta a opção correta), Avançar, Generic (recomendado), mantive selecionado a opção “Selecionar impressora da base de dados”, Avançar, mantive selecionado a opção Text-Only (recomendado), Avançar, eu não entendo as outras que foi sugerido na tela seguinte e por isso mantive selecionado, Avançar, Aplicar.
Foi oferecido para fazer a impressão de teste, eu confirmei e em seguida recebi a mensagem “Erro no servidor CUPS
Ocorreu um erro durante a operação do CUPS: ‘client-error-document-format-not-supported’”
”
marcos@antix1:~
$ service cups status
[ ok ] cupsd is running.
marcos@antix1:~
$
Agora janela de Configurações da Impressora possui duas Impressoras , a HP-LaserJet-Professional-M1132-MFP permanece marcada com um “V” e a Generic-CUPS-BRF-Printer.
Ao que parece, instalar a Impressora Genérica fez com que o HPLIP Toolbox passasse a “enxergar” a impressora HP LaserJet M1132 MFP”, possui o ícone em cor vermelha, eu selecionei a impressora no HPLIP Toolbox, o gerenciador solicitou novamente o Plugin, iniciei o processo de descarregamento, recebi novamente a mensagem que foi instalado com sucesso. O ícone em cor vermelha não está mais presente e em seu lugar exibe o “V” em cor verde.Eu consegui imprimir uma página de teste com sucesso, digitalizar e imprimir a partir do LibrOffice.
Muito obrigado.
September 9, 2021 at 9:56 pm #66828Membermarcosgomes
-
AuthorPosts
- You must be logged in to reply to this topic.