How to install Printer Driver For HP LaserJet 1020

Need assistance in installing HP_LaserJet_1020 on Manjaro-ARM-VIM3-XFCE.

First I tried to install hplip-gui but found out in Manjaro repo there is no hplip-gui, so installed hplip (successful).

sudo pacman -S hplip (successful).

Next tried to use hp-setup to install hp-plugin

$ hp-setup (as expected System return error: Gui package not installed)

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

Copyright © 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.

warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.

Next tried to run hp-plugin directly but unsuccessful.

$ sudo hp-plugin (unsuccessful - FYI without HP-Plugin LaserJet_1020 won’t print)

PLUG-IN INSTALLATION FOR HPLIP 3.20.11

Option Description

d Download plug-in from HP (recommended)
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

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y
warning: manjaro-arm distro is not found in AUTH_TYPES
Plugin installation failed
error: Plugin installation failed

Done.

Done.
[jfl@MNJROGTKPRO ~]$

Tried to locate “Printer Setting” in Setting Manager but cannot find “Print/Printer Settings”.

Need guidance. Thanks.

Have you CUPS installed and enabled?

See Manjaro wiki:
Printing - Manjaro

Hi Wollie,

Thanks. I did try to follow some of the instructions in Printing - Manaro. Failed with the first instruction.

Example:
[jfl@MNJROGTKPRO ~]$ pamac install manjaro-printer
Error: target not found: manjaro-printer

[jfl@MNJROGTKPRO ~]$ systemctl enable --now cups.service
Failed to enable unit: Unit file cups.service does not exist

From my experience using Ubuntu to get HP LaserJet 1020 to print I need to install hp-plugin for HP LaserJet 1020 and it is by installing hplip-gui and followed by running “hp-setup” to complete the installation.

But in Manjaro hplip-gui is not available as such I cannot run “hp-setup”. Eventhough I have successfully installed “hplip - HP Device Manager” but I cannot start it either.

Install it then, first:

sudo pacman -Syu cups

Thanks. Will install “cups” first. For your info my printer is connected via USB directly to the Beelink GT King Pro.

Hi Wollie,

Steps taken so far to install HP_LaserJet_1020 printer driver.
.
1. Installed hplip: “sudo pacman -Syu hplip”
2. Installed cups: “sudo pacman -Syu cups”
3. Enable cups: “sudo systemctl enable –now cups.service

[jfl@MNJROGTKPRO ~]$ sudo systemctl enable --now cups.service
[sudo] password for jfl:
Created symlink /etc/systemd/system/printer.target.wants/cups.service → /usr/lib/systemd/system/cups.service.
Created symlink /etc/systemd/system/sockets.target.wants/cups.socket → /usr/lib/systemd/system/cups.socket.
Created symlink /etc/systemd/system/multi-user.target.wants/cups.path → /usr/lib/systemd/system/cups.path.

  1. Run HP Device Manager by selecting from the menu. (Nothing happen or pop-up.)
  2. Run HP Device Manager with the command line: hplip (Nothing happen or pop-up)
  3. Next CUPS Desktop Interface Part: The Automatic Method. Cannot Find “Print Settings” in the desktop menu.

Does not seems to work so far. Did I miss any steps? Should at least be able to locate “Print Settings”. Appreciate your guidance. Thanks.

the 1020 does require the plugin and your attempt to install it directly failed. install hplip-plugin from the aur.

Hi steanne,

Yes, found the hp-plugin at AUR but Package Manager build aborted. No idea why it aborted.

I do understand from my previous experience with Debian & Ubuntu, without installing hp-plugin, HP_LaserJet_1020 will not print. In Debian/Ubuntu it was much easier to resolve by installing hplip-gui and run hp-setup, that is all it takes.

**Output of Package Manager Building "hplip-plugin 3.20.11-1"**
Preparing...
Cloning hplip-plugin build files...
Checking hplip-plugin dependencies...
Resolving dependencies...
Checking inter-conflicts...
Downloading pkgconf (1.7.3-1)...
Downloading texinfo (6.7-3)...
Downloading make (4.3-3)...
Downloading m4 (1.4.18-3)...
Downloading flex (2.6.4-3)...
Downloading fakeroot (1.25.3-1)...
Downloading bison (3.7.2-1)...
Downloading libmicrohttpd (0.9.71-1)...
Downloading elfutils (0.181-1)...
Downloading binutils (2.35-1)...
Downloading libmpc (1.1.0-2)...
Downloading gcc (10.2.0-1)...
Downloading patch (2.7.6-8)...
Downloading autoconf (2.69-7)...
Downloading automake (1.16.2-3)...
Downloading gc (8.0.4-4)...
Downloading guile (2.2.6-2)...
Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing pkgconf (1.7.3-1)...
Installing texinfo (6.7-3)...
Installing gc (8.0.4-4)...
Installing guile (2.2.6-2)...
Installing make (4.3-3)...
Installing m4 (1.4.18-3)...
Installing flex (2.6.4-3)...
Installing fakeroot (1.25.3-1)...
Installing bison (3.7.2-1)...
Installing libmicrohttpd (0.9.71-1)...
Installing elfutils (0.181-1)...
Installing binutils (2.35-1)...
Installing libmpc (1.1.0-2)...
Installing gcc (10.2.0-1)...
Installing patch (2.7.6-8)...
Installing autoconf (2.69-7)...
Installing automake (1.16.2-3)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Updating the info directory file...

Building hplip-plugin...
==> Making package: hplip-plugin 3.20.11-1 (Mon 04 Jan 2021 02:09:32 PM +08)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading hplip-3.20.11-plugin.run...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  3 10.9M    3  353k    0     0   186k      0  0:01:00  0:00:01  0:00:59  185k
  9 10.9M    9 1089k    0     0   382k      0  0:00:29  0:00:02  0:00:27  382k
 15 10.9M   15 1697k    0     0   445k      0  0:00:25  0:00:03  0:00:22  445k
 22 10.9M   22 2481k    0     0   510k      0  0:00:22  0:00:04  0:00:18  510k
 29 10.9M   29 3345k    0     0   565k      0  0:00:19  0:00:05  0:00:14  663k
 37 10.9M   37 4193k    0     0   616k      0  0:00:18  0:00:06  0:00:12  784k
 48 10.9M   48 5441k    0     0   696k      0  0:00:16  0:00:07  0:00:09  876k
 62 10.9M   62 7009k    0     0   795k      0  0:00:14  0:00:08  0:00:06 1061k
 77 10.9M   77 8721k    0     0   889k      0  0:00:12  0:00:09  0:00:03 1259k
 95 10.9M   95 10.5M    0     0   998k      0  0:00:11  0:00:10  0:00:01 1525k
100 10.9M  100 10.9M    0     0  1032k      0  0:00:10  0:00:10 --:--:-- 1720k
==> Validating source files with md5sums...
    hplip-3.20.11-plugin.run ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
hplip-3.20.11-plugin.run: line 314: exec: -t: invalid option
exec: usage: exec [-cl] [-a name] [command [argument ...]] [redirection ...]
**==> ERROR: A failure occurred in prepare().**
**    Aborting...**

Hi Wollie & steanne,

I noticed “print-manager 20.12.0-1” or “Print Setting (system-config-printer) 1.5.13-4” are not installed in my Manjaro-ARM-VIM3-XFCE-linux-vim 5.10.1-1. Do need to install either one of these module/app first?

I don’t know but would try in your case. Shouldn’t hurt.

Ok. Installed “Print Settings” using Add/Remove Software App. I can now find and start up “Print Settings” in the desktop menu.

Now what is missing is to install the “hplip-pluging”.

image

Step by step inching toward the goal but yet so far.

Installed “Print Settings” with Package Manager or Add/Remove Software App. Now I can find and start up “Print Settings” in the desktop menu.

Without the “hplip-plugin” eventhough the LaserJet_1020 is recognised by the Print Settings it won’t Print. Just tested it by “Test Print”, No Print Out from LaserJet_1020.

The question is how to successfully install “hplip-plugin”. First try installing using Add/Remove Software App/Module wasn’t successful, resulted in Error and it Aborted.

image

image

There is another thread with similar issue.

He was able to install it. Please try the solution from there.

Please use Preformatted text using </> button on the editor to enter long logs.

This is called hplip in arch/manjaro linux > sudo pacman -S hplip
You can install all the needed pkg using

sudo pacman -S print-manager system-config-printer cups python-pyqt5

and start needed service

systemctl enable org.cups.cupsd.service --now

Run Hp Printer setup tool.

hp-setup -u

Hi Spikerguy,

Thanks. Followed all the steps. “hp-setup -u” failed to identify/locate HP_LaserJet_1020. Will try again after reboot.

[jfl@MNJROGTKPRO ~]$ systemctl enable org.cups.cupsd.service --now
Failed to enable unit: Unit file org.cups.cupsd.service does not exist.

So I perform:
systemctl enable cups.service --now (fyi already done yesterday and perform again).

[jfl@MNJROGTKPRO ~]$ systemctl enable cups.service --now
[jfl@MNJROGTKPRO ~]$

[jfl@MNJROGTKPRO ~]$ sudo gpasswd -a jfl sys
[sudo] password for jfl:
Adding user jfl to group sys

[jfl@MNJROGTKPRO ~]$ sudo pacman -Syu hplip
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
warning: hplip-1:3.20.11-2 is up to date – reinstalling
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…

Packages (1) hplip-1:3.20.11-2

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

:: Proceed with installation? [Y/n] y

[jfl@MNJROGTKPRO ~]$ sudo pacman -S python-pyqt5
resolving dependencies…
looking for conflicting packages…

Packages (2) python-pyqt5-sip-12.8.1-3 python-pyqt5-5.15.2-2

Total Download Size: 3.61 MiB
Total Installed Size: 28.61 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages…

[jfl@MNJROGTKPRO ~]$ sudo pacman -S print-manager
resolving dependencies…
looking for conflicting packages…

Packages (45) attica-5.77.0-1 cdparanoia-10.2-8 graphene-1.10.2-1

[jfl@MNJROGTKPRO ~]$ systemctl enable org.cups.cupsd.service --now
Failed to enable unit: Unit file org.cups.cupsd.service does not exist.

So I did:
[jfl@MNJROGTKPRO ~]$ systemctl enable cups.service --now
[jfl@MNJROGTKPRO ~]$

[jfl@MNJROGTKPRO ~]$ hp-setup -u

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

Copyright © 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.

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

sudo hp-setup -u should work.
I just tried on my PBP here is the log

[spikerguy@Manjaro-Factory ~]$ sudo pacman -S print-manager system-config-printer cups python-pyqt5 hplip
warning: python-pyqt5-5.15.2-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (23) cups-filters-1.28.6-1  foomatic-db-engine-4:20200206-1  liblouis-3.16.0-1  net-snmp-5.9-3  perl-alien-build-2.37-1  perl-alien-libxml2-0.17-1  perl-capture-tiny-0.48-4
              perl-dbi-1.643-2  perl-ffi-checklib-0.27-2  perl-file-chdir-0.1011-4  perl-file-which-1.23-4  perl-path-tiny-0.114-1  perl-xml-libxml-2.0206-1  python-cairo-1.20.0-3
              python-distro-1.5.0-3  python-pycups-2.0.1-3  python-pycurl-7.43.0.6-4  qpdf-10.0.4-1  cups-1:2.3.3op1-1  hplip-1:3.20.11-2  print-manager-20.12.0-1  python-pyqt5-5.15.2-2
              system-config-printer-1.5.13-4

Total Download Size:    32.28 MiB
Total Installed Size:  109.86 MiB
Net Upgrade Size:       81.41 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 print-manager-20.12.0-1-aarch64                                                     386.0 KiB   689 KiB/s 00:01 [####################################################################] 100%
 python-pycups-2.0.1-3-aarch64                                                        55.4 KiB  0.00   B/s 00:00 [####################################################################] 100%
 python-pycurl-7.43.0.6-4-aarch64                                                     89.4 KiB  8.73 MiB/s 00:00 [####################################################################] 100%
 python-cairo-1.20.0-3-aarch64                                                        54.5 KiB  0.00   B/s 00:00 [####################################################################] 100%
 system-config-printer-1.5.13-4-aarch64                                              955.5 KiB  1592 KiB/s 00:01 [####################################################################] 100%
 qpdf-10.0.4-1-aarch64                                                               860.5 KiB  1831 KiB/s 00:00 [####################################################################] 100%
 liblouis-3.16.0-1-aarch64                                                          1855.3 KiB  2.26 MiB/s 00:01 [####################################################################] 100%
 cups-filters-1.28.6-1-aarch64                                                       805.5 KiB  2.54 MiB/s 00:00 [####################################################################] 100%
 cups-1:2.3.3op1-1-aarch64                                                             5.0 MiB  3.50 MiB/s 00:01 [####################################################################] 100%
 net-snmp-5.9-3-aarch64                                                             1648.0 KiB  4.73 MiB/s 00:00 [####################################################################] 100%
 perl-capture-tiny-0.48-4-any                                                         17.5 KiB  0.00   B/s 00:00 [####################################################################] 100%
 perl-ffi-checklib-0.27-2-any                                                         13.2 KiB  1319 KiB/s 00:00 [####################################################################] 100%
 perl-file-which-1.23-4-any                                                           11.9 KiB  0.00   B/s 00:00 [####################################################################] 100%
 perl-alien-build-2.37-1-any                                                         324.8 KiB  15.9 MiB/s 00:00 [####################################################################] 100%
 perl-alien-libxml2-0.17-1-any                                                         9.0 KiB  0.00   B/s 00:00 [####################################################################] 100%
 perl-xml-libxml-2.0206-1-aarch64                                                    241.5 KiB  11.8 MiB/s 00:00 [####################################################################] 100%
 perl-dbi-1.643-2-aarch64                                                            693.2 KiB  3.56 MiB/s 00:00 [####################################################################] 100%
 foomatic-db-engine-4:20200206-1-aarch64                                             195.7 KiB  4.78 MiB/s 00:00 [####################################################################] 100%
 hplip-1:3.20.11-2-aarch64                                                            19.1 MiB  2.36 MiB/s 00:08 [####################################################################] 100%
 python-distro-1.5.0-3-any                                                            32.6 KiB  3.18 MiB/s 00:00 [####################################################################] 100%
 perl-file-chdir-0.1011-4-any                                                         10.4 KiB  0.00   B/s 00:00 [####################################################################] 100%
 perl-path-tiny-0.114-1-any                                                           40.8 KiB  0.00   B/s 00:00 [####################################################################] 100%
(23/23) checking keys in keyring                                                                                 [####################################################################] 100%
(23/23) checking package integrity                                                                               [####################################################################] 100%
(23/23) loading package files                                                                                    [####################################################################] 100%
(23/23) checking for file conflicts                                                                              [####################################################################] 100%
(23/23) checking available disk space                                                                            [####################################################################] 100%
:: Processing package changes...
( 1/23) installing print-manager                                                                                 [####################################################################] 100%
Optional dependencies for print-manager
    system-config-printer: auto-detect the printer driver [pending]
( 2/23) installing python-pycups                                                                                 [####################################################################] 100%
( 3/23) installing python-pycurl                                                                                 [####################################################################] 100%
( 4/23) installing python-cairo                                                                                  [####################################################################] 100%
( 5/23) installing system-config-printer                                                                         [####################################################################] 100%
Optional dependencies for system-config-printer
    libsecret: password management [installed]
    python-pysmbc: SMB browser support
    cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges
( 6/23) installing qpdf                                                                                          [####################################################################] 100%
( 7/23) installing liblouis                                                                                      [####################################################################] 100%
( 8/23) installing cups-filters                                                                                  [####################################################################] 100%
Optional dependencies for cups-filters
    ghostscript: for non-PostScript printers to print with CUPS to convert PostScript to raster images [installed]
    foomatic-db: drivers use Ghostscript to convert PostScript to a printable form directly
    foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly [pending]
    foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly
    antiword: to convert MS Word documents
    docx2txt: to convert Microsoft OOXML text from DOCX files
( 9/23) installing cups                                                                                          [####################################################################] 100%
>> If you use an HTTPS connection to CUPS, the first time you access
>> the interface it may take a very long time before the site comes up.
>> This is because the first request triggers the generation of the CUPS
>> SSL certificates which can be a very time-consuming job.
Optional dependencies for cups
    ipp-usb: allows to send HTTP requests via a USB connection on devices without Ethernet or WiFi connections
    xdg-utils: xdg .desktop file support [installed]
    colord: for ICC color profile support [installed]
    logrotate: for logfile rotation support
(10/23) reinstalling python-pyqt5                                                                                [####################################################################] 100%
(11/23) installing python-distro                                                                                 [####################################################################] 100%
(12/23) installing net-snmp                                                                                      [####################################################################] 100%
Optional dependencies for net-snmp
    perl-term-readkey: for snmpcheck application
    perl-tk: for snmpcheck and tkmib applications
    python: for the python modules [installed]
(13/23) installing perl-capture-tiny                                                                             [####################################################################] 100%
(14/23) installing perl-ffi-checklib                                                                             [####################################################################] 100%
(15/23) installing perl-file-chdir                                                                               [####################################################################] 100%
(16/23) installing perl-file-which                                                                               [####################################################################] 100%
(17/23) installing perl-path-tiny                                                                                [####################################################################] 100%
(18/23) installing perl-alien-build                                                                              [####################################################################] 100%
(19/23) installing perl-alien-libxml2                                                                            [####################################################################] 100%
(20/23) installing perl-xml-libxml                                                                               [####################################################################] 100%
:: Installing SAX XML Parsers
(21/23) installing perl-dbi                                                                                      [####################################################################] 100%
(22/23) installing foomatic-db-engine                                                                            [####################################################################] 100%
Optional dependencies for foomatic-db-engine
    foomatic-db: linuxprinting.org xml files database to create ppd driver files
(23/23) installing hplip                                                                                         [####################################################################] 100%
Optional dependencies for hplip
    cups: for printing support [installed]
    sane: for scanner support
    xsane: sane scanner frontend
    python-pillow: for commandline scanning support [installed]
    python-reportlab: for pdf output in hp-scan
    rpcbind: for network support
    python-pyqt5: for running GUI and hp-toolbox [installed]
    libusb: for advanced usb support [installed]
    wget: for network support [installed]
:: Running post-transaction hooks...
(1/9) Creating system user accounts...
Creating group cups with gid 209.
Creating user cups (cups helper user) with uid 209 and gid 209.
(2/9) Reloading system manager configuration...
(3/9) Reloading device manager configuration...
(4/9) Arming ConditionNeedsUpdate...
(5/9) Reloading system bus configuration...
(6/9) Warn about old perl modules
(7/9) Updating icon theme caches...
(8/9) Updating the info directory file...
(9/9) Updating the desktop file MIME type cache...
[spikerguy@Manjaro-Factory ~]$ sudo ystemctl enable cups.service --now
sudo: ystemctl: command not found
[spikerguy@Manjaro-Factory ~]$ sudo systemctl enable cups.service --now
Created symlink /etc/systemd/system/printer.target.wants/cups.service → /usr/lib/systemd/system/cups.service.
Created symlink /etc/systemd/system/sockets.target.wants/cups.socket → /usr/lib/systemd/system/cups.socket.
Created symlink /etc/systemd/system/multi-user.target.wants/cups.path → /usr/lib/systemd/system/cups.path.
[spikerguy@Manjaro-Factory ~]$ sudo hp-setup -u

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

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

After this, I see this screen.

Good luck.

Maybe you can read this thread, at the bottom i added how i get hp laserjet printer to work.
It may help you.

Yes, “hp-setup -u”, I have this which is almost there:

And when I click “Next” I should see “HP-LaserJet-1020” but I don’t (Printer is already On. Off and On again Still can find Printer). I change from to different USB port still the same issue. hp-setup -u cannot find printer. This is weird.

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

Cups-filters is installed. So what is missing?

I will redo the command:

sudo pacman -S print-manager system-config-printer cups python-pyqt5 hplip

[jfl@MNJROGTKPRO ~]$ sudo pacman -S print-manager system-config-printer cups python-pyqt5 hplip
warning: print-manager-20.12.0-1 is up to date -- reinstalling
warning: system-config-printer-1.5.13-4 is up to date -- reinstalling
warning: cups-1:2.3.3op1-1 is up to date -- reinstalling
warning: python-pyqt5-5.15.2-2 is up to date -- reinstalling
warning: hplip-1:3.20.11-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (5) cups-1:2.3.3op1-1  hplip-1:3.20.11-2  print-manager-20.12.0-1
             python-pyqt5-5.15.2-2  system-config-printer-1.5.13-4

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

:: Proceed with installation? [Y/n] y
(5/5) checking keys in keyring                     [######################] 100%
(5/5) checking package integrity                   [######################] 100%
(5/5) loading package files                        [######################] 100%
(5/5) checking for file conflicts                  [######################] 100%
(5/5) checking available disk space                [######################] 100%
:: Processing package changes...
(1/5) reinstalling print-manager                   [######################] 100%
(2/5) reinstalling system-config-printer           [######################] 100%
(3/5) reinstalling cups                            [######################] 100%
(4/5) reinstalling python-pyqt5                    [######################] 100%
(5/5) reinstalling hplip                           [######################] 100%
:: Running post-transaction hooks...
(1/7) Creating system user accounts...
(2/7) Reloading system manager configuration...
(3/7) Reloading device manager configuration...
(4/7) Arming ConditionNeedsUpdate...
(5/7) Reloading system bus configuration...
(6/7) Updating icon theme caches...
(7/7) Updating the desktop file MIME type cache...
[jfl@MNJROGTKPRO ~]$ 


The reinstallation seems successful to me. Will reboot and run “hp-setup -u” again. Before I run “hp-setup -u”, Is there any more step or command I need to perform first?

Hi,
Thanks. I did read through this and for your info “cups-filters” is installed. This is the puzzling part. So close and yet so far.

I have perform the exactly the same comand:

sudo pacman -S print-manager system-config-printer cups python-pyqt5 hplip
warning: python-pyqt5-5.15.2-2 is up to date -- reinstalling

Reboot and issue “hp-setup -u” again. Same issue, cannot locate Printer.

I just printed out two pages with Debian just a minute ago the printer is connected to same USB OTG Port.

And yet “hp-setup -u” cannot locate the printer.
[jfl@MNJROGTKPRO ~]$ hp-setup -u

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

Copyright © 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.

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

I have also:
[jfl@MNJROGTKPRO ~]$ systemctl enable cups.service --now
[jfl@MNJROGTKPRO ~]$

The only command not possible is:
[jfl@MNJROGTKPRO ~]$ systemctl enable org.cups.cupsd.service --now
Failed to enable unit: Unit file org.cups.cupsd.service does not exist.

Somehow there might be a conflict preventing “hp-setup -u” being able to locate the USB port/Printer. Is this possible?

See my old Forum message:

LaserJet 1020

Short: start with http://foo2zjs.rkkda.com/

Follow instructions in downloaded file …/INSTALL

It’s still working for me, but i have to reinstall sometimes, don’t know why!