HP Laserjet 1020 not detected

Hey guys,
I got an issue with setting up my old Laserjet 1020. Neither HP-Setup nor the foomatic driver seem to be able to detect the printer. I tried diferent USB ports without success. The hwinfo commad shows the crrect information:

/usr/sbin/hwinfo--printer
19: USB 00.0: 10900 Printer                                      
  [Created at usb.122]
  Unique ID: Yl4J.POFAorwUAB4
  Parent ID: KRJj.lRoCB54l1cE
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.2/3-1.2:1.0
  SysFS BusID: 3-1.2:1.0
  Hardware Class: printer
  Model: "HP LaserJet 1020"
  Hotplug: USB
  Vendor: usb 0x03f0 "HP"
  Device: usb 0x2b17 "LaserJet 1020"
  Revision: "1.00"
  Serial ID: "JL1VKJZ"
  Speed: 480 Mbps
  Module Alias: "usb:v03F0p2B17d0100dc00dsc00dp00ic07isc01ip02in00"
  Driver Info #0:
    Driver Status: usblp is active
    Driver Activation Cmd: "modprobe usblp"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #11 (Hub)

However, running hp-doctor produces a huge number of error messages mostly about missing dependencies, which I am not able to install (I didn’t try to install them manually):

hp-doctor

**HP Linux Imaging and Printing System (ver. 3.21.6)**
**Self Diagnse Utility and Healing Utility ver. 1.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.


**HP Linux Imaging and Printing System (ver. 3.21.6)**
**Self Diagnse Utility and Healing Utility ver. 1.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.

  

**Checking for Deprecated items....**
**error: This distro (i.e suse  20211106) is either deprecated or not yet supported.**
**The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):**y


**Checking for HPLIP updates....**

**HP Linux Imaging and Printing System (ver. 3.21.6)**
**HPLIP upgrade latest version ver. 1.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.

**error: HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.suse.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an o**
penSUSE software package manager like YaST or zypper.

Done.
**error: Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?**


**Checking for Dependencies....**
**warning: 3-20211106 version is not supported. Using 3-15.3 versions dependencies to verify and install...**

---------------
| SYSTEM INFO |
---------------

 Kernel: 5.14.14-1-default #1 SMP Thu Oct 21 05:05:03 UTC 2021 (2b5383f) GNU/Linux
 Host: vision
 Proc: 5.14.14-1-default #1 SMP Thu Oct 21 05:05:03 UTC 2021 (2b5383f) GNU/Linux
 Distribution: 3 20211106
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.21.6
HPLIP-Home: /usr/share/hplip
**warning: HPLIP-Installation: Auto installation is not supported for 3 distro  20211106 version **

**Current contents of '/etc/hp/hplip.conf' file:**
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.21.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
html=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.21.6
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


**Current contents of '/var/lib/hp/hplip.state' file:**
[plugin]
installed = 1
eula = 1
version = 3.21.6



**Current contents of '~/.hplip/hplip.conf' file:**
[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[fax]
email_address =  
voice_phone =  

[last_used]
device_uri =  
printer_name =  
working_dir = .

[polling]
device_list =  
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1634905271
notify_upgrade = true
pending_upgrade_time = 0

[installation]
date_time = 11/08/21 13:19:31
version = 3.21.6


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

-------------------------
| External Dependencies |
-------------------------

 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.3.3           OK         'CUPS Scheduler is
 running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.54.0          OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.32          OK         -
** error: dbus          DBus - Message bus system                                    REQUIRED        -               1.12.20         MISSING    'DBUS may not be i**
nstalled or not running'
** error: policykit     PolicyKit - Administrative policy framework                  OPTIONAL        -               0.118           MISSING    'policykit needs t**
o be installed'
 network              network -wget                                                OPTIONAL        -               1.21.2          OK         -
** error: avahi-utils   avahi-utils                                                  OPTIONAL        -               -               MISSING    'avahi-utils needs**
 to be installed'

------------------------
| General Dependencies |
------------------------

** error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to **
be installed'
** error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.3.3           MISSING    'cups-devel needs **
to be installed'
** error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               2.3.3           MISSING    'cups-image needs **
to be installed'
** error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               b'2.34'         MISSING    'libpthread needs **
to be installed'
** error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to b**
e installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
** error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs **
to be installed'
** error: libavahi-dev  libavahi-dev                                                 REQUIRED        -               -               MISSING    'libavahi-dev need**
s to be installed'
** error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.9.1           MISSING    'libnetsnmp-dev**
el needs to be installed'
** error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs t**
o be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.8.12          OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
** error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt**
4-dbus needs to be installed'
** error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 nee**
ds to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.18          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.4.1           OK         -
** error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.8.12          MISSING    'python3-devel nee**
ds to be installed'
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               8.4.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.59          OK         -

--------------
| COMPILEDEP |
--------------

** error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to **
be installed'
** error: gcc           gcc - GNU Project C and C++ Compiler                         REQUIRED        -               -               MISSING    'gcc needs to be i**
nstalled'
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.3             OK         -

---------------------
| Python Extentions |
---------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.21.6          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.21.6          OK         -

----------------------
| Scan Configuration |
----------------------

 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.21.6          OK         'hpaio found in /e
tc/sane.d/dll.conf'
**error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of scanext.**
** error: scanext       Scan-SANE-Extension                                          REQUIRED        -               3.21.6          MISSING    'scanext needs to **
be installed'

------------------------------

Is there any chance the printer will be supported again or should I start looking for a new one?

Run

hp-setup

as root, otherwise install the missing libs from hp-doctor…

Hi
Did you ensure cups is enable, started and running before running hp setep?

https://www.openprinting.org/printer/HP/HP-LaserJet_1020

Thanks, yes CUPS is running but ithe printer still isn’t detected by any of the drivers although **lsusb **shows the printer (most of the time). hp-setup definitely does not work. I tried to install the missing dependencies but some of them simply could not be installed and others required dependencies themselves that were not to be found anywhere.

Until a couple of weeks ago, I was running Neon on an older PC and the printer was working just like kind of plug-and-play but Tumbleweed doesn*t seem to like it. So, maybe it;s time for lokking foe a new printer. Brother seemes to have less problems with Linux.

Post:

zypper se -s hplip

I don;t remember having installed any i368 packages;

S | Name | Type | Version | Arch | Repository
–±-----------------±------±-----------±-------±-----------------------
| hplip | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
| hplip | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
| hplip | Paket | 3.21.6-1.2 | i586 | openSUSE:Tumbleweed
| hplip | Paket | 3.21.6-1.2 | i586 | openSUSE-Tumbleweed-Oss
| hplip-devel | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
| hplip-devel | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
| hplip-devel | Paket | 3.21.6-1.2 | i586 | openSUSE:Tumbleweed
| hplip-devel | Paket | 3.21.6-1.2 | i586 | openSUSE-Tumbleweed-Oss
i | hplip-hpijs | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
i | hplip-hpijs | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
v | hplip-hpijs | Paket | 3.21.6-1.2 | i586 | openSUSE:Tumbleweed
v | hplip-hpijs | Paket | 3.21.6-1.2 | i586 | openSUSE-Tumbleweed-Oss
i | hplip-sane | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
i | hplip-sane | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
v | hplip-sane | Paket | 3.21.6-1.2 | i586 | openSUSE:Tumbleweed
v | hplip-sane | Paket | 3.21.6-1.2 | i586 | openSUSE-Tumbleweed-Oss
| hplip-scan-utils | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
| hplip-scan-utils | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
| hplip-scan-utils | Paket | 3.21.6-1.2 | i586 | openSUSE:Tumbleweed
| hplip-scan-utils | Paket | 3.21.6-1.2 | i586 | openSUSE-Tumbleweed-Oss

Install as root:

zypper in -f hplip hplip-scan-utils

Restart and try it once more to dect the Scanner.

PS no i386 installed, the i means installed:

S | Name | Type | Version | Arch | Repository
--+------------------+-------+------------+--------+------------------------
  | hplip | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
  | hplip | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
  | hplip | Paket | 3.21.6-1.2 | i586 | openSUSE:Tumbleweed
  | hplip | Paket | 3.21.6-1.2 | i586 | openSUSE-Tumbleweed-Oss
  | hplip-devel | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
  | hplip-devel | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
  | hplip-devel | Paket | 3.21.6-1.2 | i586 | openSUSE:Tumbleweed
  | hplip-devel | Paket | 3.21.6-1.2 | i586 | openSUSE-Tumbleweed-Oss
i | hplip-hpijs | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
i | hplip-hpijs | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
v | hplip-hpijs | Paket | 3.21.6-1.2 | i586 | openSUSE:Tumbleweed
v | hplip-hpijs | Paket | 3.21.6-1.2 | i586 | openSUSE-Tumbleweed-Oss
i | hplip-sane | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
i | hplip-sane | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
v | hplip-sane | Paket | 3.21.6-1.2 | i586 | openSUSE:Tumbleweed
v | hplip-sane | Paket | 3.21.6-1.2 | i586 | openSUSE-Tumbleweed-Oss
  | hplip-scan-utils | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
  | hplip-scan-utils | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
  | hplip-scan-utils | Paket | 3.21.6-1.2 | i586 | openSUSE:Tumbleweed
  | hplip-scan-utils | Paket | 3.21.6-1.2 | i586 | openSUSE-Tumbleweed-Oss

I have asked especially for** zypper se -s** and not for zypper se -si

Also please use Code-Tags:
https://forums.opensuse.org/showthread.php/536143-Using-Code-Tags-Around-Your-Paste

Sorry for the typo! However,I have no problems with my scanner, it 's my Laserjet 1020 which does not work with neither hplip nor with foo2zjs-z1.

Here comes the updated able with hplip re-installed.

 zypperse-shplip
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S  | Name             | Type  | Version    | Arch   | Repository
---+------------------+-------+------------+--------+------------------------
i+ | hplip            | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
i+ | hplip            | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
v  | hplip            | Paket | 3.21.6-1.2 | i586   | openSUSE:Tumbleweed
v  | hplip            | Paket | 3.21.6-1.2 | i586   | openSUSE-Tumbleweed-Oss
   | hplip-devel      | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
   | hplip-devel      | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
   | hplip-devel      | Paket | 3.21.6-1.2 | i586   | openSUSE:Tumbleweed
   | hplip-devel      | Paket | 3.21.6-1.2 | i586   | openSUSE-Tumbleweed-Oss
i  | hplip-hpijs      | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
i  | hplip-hpijs      | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
v  | hplip-hpijs      | Paket | 3.21.6-1.2 | i586   | openSUSE:Tumbleweed
v  | hplip-hpijs      | Paket | 3.21.6-1.2 | i586   | openSUSE-Tumbleweed-Oss
i  | hplip-sane       | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
i  | hplip-sane       | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
v  | hplip-sane       | Paket | 3.21.6-1.2 | i586   | openSUSE:Tumbleweed
v  | hplip-sane       | Paket | 3.21.6-1.2 | i586   | openSUSE-Tumbleweed-Oss
   | hplip-scan-utils | Paket | 3.21.6-1.2 | x86_64 | openSUSE:Tumbleweed
   | hplip-scan-utils | Paket | 3.21.6-1.2 | x86_64 | openSUSE-Tumbleweed-Oss
   | hplip-scan-utils | Paket | 3.21.6-1.2 | i586   | openSUSE:Tumbleweed
   | hplip-scan-utils | Paket | 3.21.6-1.2 | i586   | openSUSE-Tumbleweed-Oss

Hi
You need to download a plugin and install as your user…

https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index

|Model Name|Min. HPLIP Version|Chrome OS Support|Driver Plug-in8|Support Level9|Print Mode|Scan to PC3|PC Send Fax5|Connectivity
|—|—|—|—|—|—|—|—|
USB
Network
Parallel1|

HP LaserJet 1020 Printer 2.7.10 No Yes Full (End of support) Mono No No USB

cd
wget https://developers.hp.com/sites/default/files/hplip-3.21.6-plugin.run -O hplip-3.21.6-plugin.run
wget https://developers.hp.com/sites/default/files/hplip-3.21.6-plugin.run.asc -O hplip-3.21.6-plugin.run.asc
hp-plugin -i -p .

No, sorry. The installation of the plugin went well but as soon as I start hp-setup and press Next I get No devices found​.

Try running the hp backend manually like this…

sudo /usr/lib/cups/backend/hp

Is the USB-connected printer enumerated?

Another low-level cups command that should report the attached printer…

sudo lpinfo -v

It just says

sudo/usr/lib/cups/backend/hp
direct hp "Unknown" "HP Printer (HPLIP)"


Ok, that rules out any low-level (hardware, USB subsystem) issue.

Thanks everybody. I solved the issue by adding a new printer (Brother), which worked like installing the driver, selecting the printer in the printer setup menu, and start printing.