How to install Printer Driver For HP LaserJet 1020

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!

Somehow using Add/Remove Software App to build/install hplip-plugin it ended up with error and it aborted but using command line: sudo pacman build hplip-plugin it build successfully.

Now let see whether HP LaserJet 1020 will be recognised and Print.

[jfl@MNJROGTKPRO ~]$ pamac build hplip-plugin
Preparing...
Cloning hplip-plugin build files...
Checking hplip-plugin dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  hplip-plugin  3.20.11-1    AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y


Building hplip-plugin...
==> Making package: hplip-plugin 3.20.11-1 (Tue 05 Jan 2021 12:38:54 AM +08)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found hplip-3.20.11-plugin.run
==> Validating source files with md5sums...
    hplip-3.20.11-plugin.run ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
Creating directory /var/tmp/pamac-build-jfl/hplip-plugin/src/hplip-3.20.11-plugin
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.11 Plugin Self Extracting Archive..............................................................
==> Entering fakeroot environment...
==> Starting package()...
'/var/tmp/pamac-build-jfl/hplip-plugin/pkg/hplip-plugin/usr/share/hplip/scan/plugins/bb_soap.so' -> 'bb_soap-arm64.so'
'/var/tmp/pamac-build-jfl/hplip-plugin/pkg/hplip-plugin/usr/share/hplip/scan/plugins/bb_marvell.so' -> 'bb_marvell-arm64.so'
'/var/tmp/pamac-build-jfl/hplip-plugin/pkg/hplip-plugin/usr/share/hplip/scan/plugins/bb_soapht.so' -> 'bb_soapht-arm64.so'
'/var/tmp/pamac-build-jfl/hplip-plugin/pkg/hplip-plugin/usr/share/hplip/scan/plugins/bb_escl.so' -> 'bb_escl-arm64.so'
'/var/tmp/pamac-build-jfl/hplip-plugin/pkg/hplip-plugin/usr/share/hplip/prnt/plugins/lj.so' -> 'lj-arm64.so'
'/var/tmp/pamac-build-jfl/hplip-plugin/pkg/hplip-plugin/usr/share/hplip/prnt/plugins/hbpl1.so' -> 'hbpl1-arm64.so'
'/var/tmp/pamac-build-jfl/hplip-plugin/pkg/hplip-plugin/usr/share/hplip/fax/plugins/fax_marvell.so' -> 'fax_marvell-arm64.so'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "hplip-plugin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: hplip-plugin 3.20.11-1 (Tue 05 Jan 2021 12:39:00 AM +08)
==> Cleaning up...

Checking keyring...                                                        [1/1]
Checking integrity...                                                      [1/1]
Loading packages files...                                                  [1/1]
Checking file conflicts...                                                 [1/1]
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_1000.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_1000.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_1005_series.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_1005_series.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_1018.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_1018.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_1020.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_1020.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_p1005.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_p1005.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_p1006.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_p1006.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_p1007.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_p1007.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_p1008.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_p1008.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_p1009.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_p1009.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_p1505.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_p1505.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_professional_p1102.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_professional_p1102.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_professional_p1102w.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_professional_p1102w.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/data/firmware/hp_laserjet_professional_p1566.fw.gz already existed in filesystem
It has been backed up to /usr/share/hplip/data/firmware/hp_laserjet_professional_p1566.fw.gz.old
Warning: hplip-plugin: /usr/share/hplip/fax/plugins/fax_marvell-arm64.so already existed in filesystem
It has been backed up to /usr/share/hplip/fax/plugins/fax_marvell-arm64.so.old
Warning: hplip-plugin: /usr/share/hplip/fax/plugins/fax_marvell.so already existed in filesystem
It has been backed up to /usr/share/hplip/fax/plugins/fax_marvell.so.old
Warning: hplip-plugin: /usr/share/hplip/plugin.spec already existed in filesystem
It has been backed up to /usr/share/hplip/plugin.spec.old
Warning: hplip-plugin: /usr/share/hplip/prnt/plugins/hbpl1-arm64.so already existed in filesystem
It has been backed up to /usr/share/hplip/prnt/plugins/hbpl1-arm64.so.old
Warning: hplip-plugin: /usr/share/hplip/prnt/plugins/hbpl1.so already existed in filesystem
It has been backed up to /usr/share/hplip/prnt/plugins/hbpl1.so.old
Warning: hplip-plugin: /usr/share/hplip/prnt/plugins/lj-arm64.so already existed in filesystem
It has been backed up to /usr/share/hplip/prnt/plugins/lj-arm64.so.old
Warning: hplip-plugin: /usr/share/hplip/prnt/plugins/lj.so already existed in filesystem
It has been backed up to /usr/share/hplip/prnt/plugins/lj.so.old
Warning: hplip-plugin: /usr/share/hplip/scan/plugins/bb_escl-arm64.so already existed in filesystem
It has been backed up to /usr/share/hplip/scan/plugins/bb_escl-arm64.so.old
Warning: hplip-plugin: /usr/share/hplip/scan/plugins/bb_escl.so already existed in filesystem
It has been backed up to /usr/share/hplip/scan/plugins/bb_escl.so.old
Warning: hplip-plugin: /usr/share/hplip/scan/plugins/bb_marvell-arm64.so already existed in filesystem
It has been backed up to /usr/share/hplip/scan/plugins/bb_marvell-arm64.so.old
Warning: hplip-plugin: /usr/share/hplip/scan/plugins/bb_marvell.so already existed in filesystem
It has been backed up to /usr/share/hplip/scan/plugins/bb_marvell.so.old
Warning: hplip-plugin: /usr/share/hplip/scan/plugins/bb_soap-arm64.so already existed in filesystem
It has been backed up to /usr/share/hplip/scan/plugins/bb_soap-arm64.so.old
Warning: hplip-plugin: /usr/share/hplip/scan/plugins/bb_soap.so already existed in filesystem
It has been backed up to /usr/share/hplip/scan/plugins/bb_soap.so.old
Warning: hplip-plugin: /usr/share/hplip/scan/plugins/bb_soapht-arm64.so already existed in filesystem
It has been backed up to /usr/share/hplip/scan/plugins/bb_soapht-arm64.so.old
Warning: hplip-plugin: /usr/share/hplip/scan/plugins/bb_soapht.so already existed in filesystem
It has been backed up to /usr/share/hplip/scan/plugins/bb_soapht.so.old
Checking keyring...                                                        [1/1]
Checking integrity...                                                      [1/1]
Loading packages files...                                                  [1/1]
Checking file conflicts...                                                 [1/1]
Checking available disk space...                                           [1/1]
Installing hplip-plugin (3.20.11-1)...                                     [1/1]
/var/lib/hp/hplip.state installed as /var/lib/hp/hplip.state.pacnew.
Transaction successfully finished.
[jfl@MNJROGTKPRO ~]$

No idea why the device is not detected.

Please use preformatted text (</> Sign) in the test editor of the forum when posting terminal output.

no, hplip and hplip-plugin are not the same thing. hplip is a general driver package for hp printers in our repositories. some hp printers ALSO require a plugin (either for all use or for certain capabilities) which must be installed either directly from hp or through the aur (which is still directly from hp.)

https://developers.hp.com/hp-linux-imaging-and-printing/binary_plugin.html

Thanks for the tip on (</> Sign).

After may tries to get the HP LaserJet 1020 to work on Manjaro-ARM-VIM3, I think there are two issues that might or might not be related to why I cannot detect HP LaserJet 1020 on the USB.

First id the new u-boot (boot-vim3-2020-10-1 or from LibreELEC) is very sensitive to what is connected to GT KIng Pro USB ports and on which USB Port the boot USB drive is inserted into when other USB devices (such Printer, USB HDD).

Example, if Printer is ON during boot up with this new u-boot, it will almost always report an error on USB and sometimes it will complete to boot and other times not. This is repeatable. (Same issue in Armbian-Focal-5.9.0 using the new u-boot from LibreELEC but I can install hplip-gui and get it to work with LaserJet 1020, have to turn off and on again for it to detect/print). If another USB HDD is connected to the GT King Pro it will not boot or go into an infinite boot up loop.

The one time I can get HP Device Manager to recognize HP LaserJet 1020 but the installation process (erro: Python gobject/dbus may be not installed).

FYI, I did manage to build hplip-plugin fom AUR using:
pamac build hplip-plugin

Can any of the hplip-plugin be used? Example hbpl1-arm64.so or lj-arm64.so.
I tried the option "Select and install an existing local copy of the plug-in file (advanced): /usr/share/hplip/prnt/plugins/
But HP Device Manager does not recognize any of the xxx.so plug-in files.

Below are the complete output and screen shots of HP Device Manager.

[jfl@MNJROGTKPRO ~]$ hp-setup

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.

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.20.11)
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.11)
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: 
warning: manjaro-arm distro is not found in AUTH_TYPES
Receiving digital keys: /usr/bin/gpg --homedir /home/jfl/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.11 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.20.11)
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.20.11
Installed HPLIP version: 3.20.11
Number of files to install: 64

note: Using PyQt5
warning: manjaro-arm distro is not found in AUTH_TYPES
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 874, resource id: 10530186, major code: 40 (TranslateCoords), minor code: 0
Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.

image

EDIT:
To get HP Device Manager to recognize HP LaserJet 1020 is when it failed to recognize the Printer first time, Turn Off the Printer. Click Refresh and Turn On Printer Again. Eventhough it recognize the printer, it failed because of “Unable to receive key from keyserver”, I think.

Any suggestions on resolving “Unable to receive key from keyserver”?

After reading the error message on hplip-plugin installation, it seems the main reason is “warning: manjaro-arm distro is not found in AUTH_TYPES.” which explain the HP Device Manager error message “Unable to receive key from keyserver”.

Confused in the sense that “pamac build hplip-plugin” (AUR) was build successfully but was not usable or I do not know how to use it. No idea why.

Any other suggestion?

```
note: Using PyQt5
warning: manjaro-arm distro is not found in AUTH_TYPES
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 874, resource id: 10530186, major code: 40 (TranslateCoords), minor code: 0
Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.

Hi steanne,

I did manage to install hplip-plugin using “pamac build hplip-plugin” from AUR but it do not get recognize by either Manjaro Print Settings or HP Device Manager. Puzzling.

Using the “hp-setup -u” and follow the recommended route, unable to installed the hp-plugin due to “warning: manjaro-arm distro is not found in AUTH_TYPES” and “Unable to receive key from keyserver”.

Tried using command line “hp-plugin” using existing local copy of the plug-in file. The installed “hplip-plugin” from “pamac build hplip-plugin” does not have the “hplip-plugin-3-20-11.run”.

Would like to here from someone using Manjaro-ARM get HP Printer that require binary hp-plugin using HP Device Manager that actually get it to work. [Edit: I do know hplip does work on arm64 devices as I have installed it on Debian/Ubuntu and it works. Just don’t seems to get it to work on Manjaro-ARM].

Else it looks like I have to look for another option like foo2zjs-nightly.


image


image