how to print to my network printer ? hp laserjet M1212NF

hi

i have being struggling to set my doc printed on my network printer, which is connected 192,168,0,9 (a static ip)

last time (installed manjaro for friend) i was easily able to print to it just by typing the static ip to my browser , it will auto do it's thing to setup on manjaro..

now this is my own laptop , but i can't get it to work

can someone list out the command line or gui or anything that i can use to get it to work or troubleshoot it.

thx

Did you have installed hplip?

1 Like

yes.
hplip

what is the issue with "unable to receive key from keyserver ?

hp

i tried using "cups" thing and it manage to do a "print test" page.

in order to print something, i am forced to install a "driver plug-in".
which it didn't manage to download.

can't successfully get the plug in to run!
hp

$ hp-plugin

HP Linux Imaging and Printing System (ver. 3.20.5)
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.20.5)
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.

error: Unable to lock /home/manjaro-andrew/.hplip/hp-plugin.lock. Is hp-plugin already running?

The hplib-Plugin is also available in the App Store ( see your picture above)

i don't really know what is the different between gui and commandline..

how i know.. with command line i can see a lot of info that gui don't provide..

$ ./hplip-3.20.6.run
Creating directory hplip-3.20.6
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.6 Self Extracting Archive.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 3.20.6)
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-02-Jul-2020_10:16:14.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: manjarolinux-20.0.3 version is not supported, so all dependencies may not be installed. However trying to install using manjarolinux-20.0.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


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


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Manjaro Linux 20.0.3.

Is "Manjaro Linux 20.0.3" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
[sudo] password for manjaro-andrew: 
:: Synchronizing package databases...
 core is up to date
 extra                                                                                   2.0 MiB  12.9 MiB/s 00:00 [####################################################################] 100%
 community                                                                               5.9 MiB  14.7 MiB/s 00:00 [####################################################################] 100%
 multilib is up to date
warning: libidn-1.35-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libidn-1.35-3

Total Installed Size:  0.67 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Processing package changes...
(1/1) reinstalling libidn                                                                                          [####################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
warning: libjpeg-turbo-2.0.4-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libjpeg-turbo-2.0.4-1

Total Download Size:   0.44 MiB
Total Installed Size:  2.10 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 libjpeg-turbo-2.0.4-1-x86_64                                                          449.5 KiB  6.97 MiB/s 00:00 [####################################################################] 100%
(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Processing package changes...
(1/1) reinstalling libjpeg-turbo                                                                                   [####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Initializing. Please wait...


ENTER USER PASSWORD
-------------------
Please enter the sudoer (manjaro-andrew)'s password: 
 

INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Manjaro "Main" Repositories. See: https://wiki.manjaro.org/index.php/Arch_User_Repository for more information.  Disable the CD-ROM/DVD source if you do not have the Manjaro 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   
xsane                scan                 OPTIONAL            
python3-notify2      gui_qt5              OPTIONAL            
python3-pyqt4-dbus   gui_qt4              OPTIONAL            
python3-pyqt4        gui_qt4              REQUIRED            
python3-pyqt5-dbus   gui_qt5              OPTIONAL            
python3-pyqt5        gui_qt5              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: python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: Missing REQUIRED dependency: python3-pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))


INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'gui_qt4': python3-notify2 (Python libnotify - Python bindings for the libnotify Desktop notifications)
warning: This installer cannot install 'python3-notify2' for your distro/OS and/or version.
warning: Missing OPTIONAL dependency for option 'gui_qt4': python3-pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)
warning: This installer cannot install 'python3-pyqt4-dbus' for your distro/OS and/or version.
warning: Missing OPTIONAL dependency for option 'gui_qt5': python3-notify2 (Python libnotify - Python bindings for the libnotify Desktop notifications)
warning: This installer cannot install 'python3-notify2' for your distro/OS and/or version.
warning: Missing OPTIONAL dependency for option 'gui_qt5': python3-pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5)
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
----------------------------
sudo pacman -Sy (Pre-depend step 1)
OK


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo pacman -S --noconfirm python-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo pacman -S --noconfirm python-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo pacman -S --noconfirm python-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo pacman -S --noconfirm python-pyqt4'
Please wait, this may take several minutes...
error: Package install command failed with error code 1
note: Some packages may not get installed on python3 due to distro incompatibilites

note: Please check for more information at http://hplipopensource.com/node/369
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? y
Running 'sudo pacman -S --noconfirm python-pyqt4'
Please wait, this may take several minutes...
error: Package install command failed with error code 1
note: Some packages may not get installed on python3 due to distro incompatibilites

note: Please check for more information at http://hplipopensource.com/node/369
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? y
Running 'sudo pacman -S --noconfirm python-pyqt4'
Please wait, this may take several minutes...
error: Package install command failed with error code 1
note: Some packages may not get installed on python3 due to distro incompatibilites

note: Please check for more information at http://hplipopensource.com/node/369
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? n
warning: Some HPLIP functionality might not function due to missing package(s).
Running 'sudo pacman -S --noconfirm pygtk'
Please wait, this may take several minutes...
Running 'sudo pacman -S --noconfirm python-pyqt5'
Please wait, this may take several minutes...
Running 'sudo pacman -S --noconfirm python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo pacman -S --noconfirm python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo pacman -S --noconfirm python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo pacman -S --noconfirm python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 1
note: Some packages may not get installed on python3 due to distro incompatibilites

note: Please check for more information at http://hplipopensource.com/node/369
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? n
warning: Some HPLIP functionality might not function due to missing package(s).
Running 'sudo pacman -S --noconfirm xsane'
Please wait, this may take several minutes...
error: A required dependency 'python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.


RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK
[sudo] password for manjaro-andrew: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
warning: libidn-1.35-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libidn-1.35-3

Total Installed Size:  0.67 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Processing package changes...
(1/1) reinstalling libidn                                                                                          [####################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
warning: libjpeg-turbo-2.0.4-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libjpeg-turbo-2.0.4-1

Total Installed Size:  2.10 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
:: Processing package changes...
(1/1) reinstalling libjpeg-turbo                                                                                   [####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...


RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.
[manjaro-andrew@manjaro-andrew-pc Desktop]$ 


that hp plugin from aur does not build correctly.. does not work.

hp [quote="mepi0011, post:7, topic:150906"]
lib-Plugin is also available in the App Store ( see
[/quote]

It's been a while since I set up a friend's HP printer under Manjaro and since then it's been running smoothly. I'm sorry I can't help in detail with problems. If I were you, I would also search the internet for solutions using the exact printer name and the keyword Arch Linux.

Check out this for e.g.:

https://wiki.archlinux.org/index.php/CUPS/Troubleshooting#HP_issues

https://www.youtube.com/watch?v=utK889gYAmM (From minute 5 on it could be interesting)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by