Printer not connected

Asked by Helmut Schulz

Using HPLIP I set up an HP Envy printer but get an error message that printer is not connected or busy
yet the lights on the printer are on.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Helmut Schulz
Solved:
Last query:
Last reply:
Revision history for this message
brian_p (claremont102) said (last edit ):
#1

What is the precise model, connection method and OS version?

Revision history for this message
Helmut Schulz (clawinus9) said :
#2

The printer is HP Envy Pro 6455 connected to the PC by USB cable. I took care to have the printer directly connected to the wall plug,
yet often the print command fails. Then I unplug the printer from the wall plug and wait 60 second to plug it back in. Then often, not always, I am able to print. I use the same recovery method when trying to scan from the scan bed of the printer.

Revision history for this message
brian_p (claremont102) said :
#3

And the OS + version?

Revision history for this message
Helmut Schulz (clawinus9) said :
#4

OS Linux mint 23

Revision history for this message
brian_p (claremont102) said :
#5

Mint 23 does not exist. 21 is the latest. Do you mean 20.3?

Revision history for this message
Helmut Schulz (clawinus9) said :
#6

Sorry, my error. Here the copy of my system information:
System:
  Kernel: 5.15.0-56-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: Cinnamon 5.4.12
    tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: HP product: HP ENVY Desktop v: N/A serial: <superuser required> Chassis:
    type: 3 serial: <superuser required>
  Mobo: HP model: 8399 v: 1.00 serial: <superuser required> UEFI: AMI v: F.03 date: 07/17/2017
CPU:
  Info: quad core model: AMD Ryzen 5 1400 bits: 64 type: MT MCP arch: Zen rev: 1 cache:
    L1: 384 KiB L2: 2 MiB L3: 8 MiB
  Speed (MHz): avg: 1600 high: 2389 min/max: 1550/3200 boost: enabled cores: 1: 1375 2: 1369
    3: 1374 4: 1375 5: 1554 6: 2389 7: 1388 8: 1983 bogomips: 51097
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Hewlett-Packard
    driver: amdgpu v: kernel pcie: speed: 2.5 GT/s lanes: 16 ports: active: HDMI-A-1
    empty: DP-1,DP-2,DP-3 bus-ID: 09:00.0 chip-ID: 1002:67df
  Device-2: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-2.2:8
    chip-ID: 046d:081b
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: HDMI-A-0 mapped: HDMI-A-1 model: HP 27b Curved res: 1920x1080 dpi: 82
    diag: 686mm (27")
  OpenGL:
    renderer: AMD Radeon RX 480 Graphics (polaris10 LLVM 13.0.1 DRM 3.42 5.15.0-56-generic)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 09:00.1 chip-ID: 1002:aaf0
  Device-2: AMD Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 12:00.3 chip-ID: 1022:1457
  Device-3: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-2.2:8
    chip-ID: 046d:081b
  Sound Server-1: ALSA v: k5.15.0-56-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 01:00.0
    chip-ID: 10ec:8168
  IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter vendor: Hewlett-Packard
    driver: rtw_8821ce v: N/A pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0
    chip-ID: 10ec:c821
  IF: wlp5s0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-8:5
    chip-ID: 0bda:b00a
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 1.86 TiB used: 717.31 GiB (37.6%)
  ID-1: /dev/sda vendor: Seagate model: ST1000DM003-1SB102 size: 931.51 GiB speed: 6.0 Gb/s
    serial: <filter>
  ID-2: /dev/sdd type: USB model: Disk 3.0 size: 976.56 GiB serial: <filter>
Partition:
  ID-1: / size: 915.32 GiB used: 349.25 GiB (38.2%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 460.4 MiB (22.5%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: 30.0 C mobo: N/A gpu: amdgpu temp: 36.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1286
Repos:
  Packages: apt: 2590
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
    1: deb [arch=amd64] https: //packages.microsoft.com/repos/edge/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mkusb-ppa-jammy.list
    1: deb http: //ppa.launchpad.net/mkusb/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/mozillateam-ppa-jammy.list
    1: deb http: //ppa.launchpad.net/mozillateam/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com vanessa main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
    1: deb [arch=amd64] https: //repo.skype.com/deb stable main
Info:
  Processes: 383 Uptime: 1d 21h 3m Memory: 7.65 GiB used: 5.07 GiB (66.3%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.3.0 alt: 11 Client: Cinnamon v: 5.4.12 inxi: 3.3.13

Revision history for this message
Helmut Schulz (clawinus9) said :
#7

Here is the information on the printer connection:
helmut@helmut-HP-ENVY-Desktop:~$ hp-check -t
Saving output in log file: /home/helmut/hp-check.log

HP Linux Imaging and Printing System (ver. 3.21.12)
Dependency/Version Check Utility ver. 15.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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before
compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies
are installed to successfully compile HPLIP.

2. Run-time check mode (-r or --run): Use this mode to determine if a
distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied
tarball
has the proper dependencies installed to successfully run.

3. Both compile- and run-time check mode (-b or --both) (Default): This
mode
will check both of the above cases (both compile- and run-time
dependencies).

Check types:

a. EXTERNALDEP - External Dependencies

b. GENERALDEP - General Dependencies (required both at compile and run
time)
c. COMPILEDEP - Compile time Dependencies

d. [All are run-time checks]

PYEXT SCANCONF QUEUES PERMISSION

Status Types:
    OK
    MISSING - Missing Dependency or Permission or Plug-in
    INCOMPAT - Incompatible dependency-version or Plugin-version

-Traceback (most recent call last):
  File "/usr/bin/hp-check", line 861, in <module>
    dep.core.init()
  File "/usr/share/hplip/installer/core_install.py", line 523, in init
    self.get_distro()
  File "/usr/share/hplip/installer/core_install.py", line 661, in get_distro
    if 'MX' in distro_release_name:
NameError: name 'distro_release_name' is not defined
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in
apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory:
'/var/crash/_usr_share_hplip_check.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/hp-check", line 861, in <module>
    dep.core.init()
  File "/usr/share/hplip/installer/core_install.py", line 523, in init
    self.get_distro()
  File "/usr/share/hplip/installer/core_install.py", line 661, in get_distro
    if 'MX' in distro_release_name:
NameError: name 'distro_release_name' is not defined
helmut@helmut-HP-ENVY-Desktop:~$

On Mon, Jan 2, 2023 at 7:45 AM Helmut Schulz <
<email address hidden>> wrote:

> Your question #704236 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/704236
>
> Status: Needs information => Open
>
> You gave more information on the question:
> Sorry, my error. Here the copy of my system information:
> System:
> Kernel: 5.15.0-56-generic x86_64 bits: 64 compiler: gcc v: 11.3.0
> Desktop: Cinnamon 5.4.12
> tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa
> base: Ubuntu 22.04 jammy
> Machine:
> Type: Desktop System: HP product: HP ENVY Desktop v: N/A serial:
> <superuser required> Chassis:
> type: 3 serial: <superuser required>
> Mobo: HP model: 8399 v: 1.00 serial: <superuser required> UEFI: AMI v:
> F.03 date: 07/17/2017
> CPU:
> Info: quad core model: AMD Ryzen 5 1400 bits: 64 type: MT MCP arch: Zen
> rev: 1 cache:
> L1: 384 KiB L2: 2 MiB L3: 8 MiB
> Speed (MHz): avg: 1600 high: 2389 min/max: 1550/3200 boost: enabled
> cores: 1: 1375 2: 1369
> 3: 1374 4: 1375 5: 1554 6: 2389 7: 1388 8: 1983 bogomips: 51097
> Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
> Graphics:
> Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
> vendor: Hewlett-Packard
> driver: amdgpu v: kernel pcie: speed: 2.5 GT/s lanes: 16 ports:
> active: HDMI-A-1
> empty: DP-1,DP-2,DP-3 bus-ID: 09:00.0 chip-ID: 1002:67df
> Device-2: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo
> bus-ID: 1-2.2:8
> chip-ID: 046d:081b
> Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
> unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
> Screen-1: 0 s-res: 1920x1080 s-dpi: 96
> Monitor-1: HDMI-A-0 mapped: HDMI-A-1 model: HP 27b Curved res: 1920x1080
> dpi: 82
> diag: 686mm (27")
> OpenGL:
> renderer: AMD Radeon RX 480 Graphics (polaris10 LLVM 13.0.1 DRM 3.42
> 5.15.0-56-generic)
> v: 4.6 Mesa 22.0.5 direct render: Yes
> Audio:
> Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
> vendor: Hewlett-Packard
> driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID:
> 09:00.1 chip-ID: 1002:aaf0
> Device-2: AMD Family 17h HD Audio vendor: Hewlett-Packard driver:
> snd_hda_intel v: kernel
> pcie: speed: 8 GT/s lanes: 16 bus-ID: 12:00.3 chip-ID: 1022:1457
> Device-3: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo
> bus-ID: 1-2.2:8
> chip-ID: 046d:081b
> Sound Server-1: ALSA v: k5.15.0-56-generic running: yes
> Sound Server-2: PulseAudio v: 15.99.1 running: yes
> Sound Server-3: PipeWire v: 0.3.48 running: yes
> Network:
> Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor:
> Hewlett-Packard
> driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000
> bus-ID: 01:00.0
> chip-ID: 10ec:8168
> IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
> Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
> vendor: Hewlett-Packard
> driver: rtw_8821ce v: N/A pcie: speed: 2.5 GT/s lanes: 1 port: e000
> bus-ID: 05:00.0
> chip-ID: 10ec:c821
> IF: wlp5s0 state: up mac: <filter>
> Bluetooth:
> Device-1: Realtek Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8
> bus-ID: 1-8:5
> chip-ID: 0bda:b00a
> Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
> Drives:
> Local Storage: total: 1.86 TiB used: 717.31 GiB (37.6%)
> ID-1: /dev/sda vendor: Seagate model: ST1000DM003-1SB102 size: 931.51
> GiB speed: 6.0 Gb/s
> serial: <filter>
> ID-2: /dev/sdd type: USB model: Disk 3.0 size: 976.56 GiB serial:
> <filter>
> Partition:
> ID-1: / size: 915.32 GiB used: 349.25 GiB (38.2%) fs: ext4 dev: /dev/sda2
> ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat dev:
> /dev/sda1
> Swap:
> ID-1: swap-1 type: file size: 2 GiB used: 460.4 MiB (22.5%) priority: -2
> file: /swapfile
> Sensors:
> System Temperatures: cpu: 30.0 C mobo: N/A gpu: amdgpu temp: 36.0 C
> Fan Speeds (RPM): N/A gpu: amdgpu fan: 1286
> Repos:
> Packages: apt: 2590
> No active apt repos in: /etc/apt/sources.list
> Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
> 1: deb [arch=amd64] https: //packages.microsoft.com/repos/edge/
> stable main
> Active apt repos in: /etc/apt/sources.list.d/mkusb-ppa-jammy.list
> 1: deb http: //ppa.launchpad.net/mkusb/ppa/ubuntu jammy main
> Active apt repos in: /etc/apt/sources.list.d/mozillateam-ppa-jammy.list
> 1: deb http: //ppa.launchpad.net/mozillateam/ppa/ubuntu jammy main
> Active apt repos in:
> /etc/apt/sources.list.d/official-package-repositories.list
> 1: deb http: //packages.linuxmint.com vanessa main upstream import
> backport
> 2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted
> universe multiverse
> 3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main
> restricted universe multiverse
> 4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main
> restricted universe multiverse
> 5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main
> restricted universe multiverse
> Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
> 1: deb [arch=amd64] https: //repo.skype.com/deb stable main
> Info:
> Processes: 383 Uptime: 1d 21h 3m Memory: 7.65 GiB used: 5.07 GiB (66.3%)
> Init: systemd v: 249
> runlevel: 5 Compilers: gcc: 11.3.0 alt: 11 Client: Cinnamon v: 5.4.12
> inxi: 3.3.13
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
brian_p (claremont102) said :
#8

> Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy

You have the latest Mint. ipp-usb is installed by default and will be used. This is the way that is meant to provide printing on USB. Give what you get for

  systemctl status ipp-usb

and

  driverless

Revision history for this message
Helmut Schulz (clawinus9) said :
#9

Please explain what I should do with the comment in your last message:

"Give what you get for

  systemctl status ipp-usb

and

  driverless"
Are these commands for the Terminal?

Revision history for this message
brian_p (claremont102) said :
#10

> Are these commands for the Terminal?

Yes.

Revision history for this message
Helmut Schulz (clawinus9) said :
#11

I entered the commands in Terminal and encountered further issues:
elmut@helmut-HP-ENVY-Desktop:~$  systemctl status ipp-usb
Command ' systemctl' not found, did you mean:
  command 'systemctl' from deb systemd (249.11-0ubuntu3.6)
  command 'systemctl' from deb systemctl (1.4.4181-1.1)
Try: sudo apt install <deb name>
helmut@helmut-HP-ENVY-Desktop:~$  systemctl status ipp-usb
Command ' systemctl' not found, did you mean:
  command 'systemctl' from deb systemd (249.11-0ubuntu3.6)
  command 'systemctl' from deb systemctl (1.4.4181-1.1)
Try: sudo apt install <deb name>
helmut@helmut-HP-ENVY-Desktop:~$ sudo apt install systemd
[sudo] password for helmut:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
systemd is already the newest version (249.11-0ubuntu3.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
helmut@helmut-HP-ENVY-Desktop:~$ sudo apt install systemctl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 init : PreDepends: systemd-sysv
 mintsources : Depends: mint-common (>= 2) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
helmut@helmut-HP-ENVY-Desktop:~$ sudo apt install systemd-sysv
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
systemd-sysv is already the newest version (249.11-0ubuntu3.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
helmut@helmut-HP-ENVY-Desktop:~$

Revision history for this message
Helmut Schulz (clawinus9) said :
#12

The command driverless gave the following result:l

helmut@helmut-HP-ENVY-Desktop:~$ driverless
ipp://HP%20ENVY%20Pro%206400%20series%20%5BB01816%5D%20(USB)._ipp._tcp.local/
helmut@helmut-HP-ENVY-Desktop:~$

Am I interpreting this correctly, my printer has no driver?

Revision history for this message
brian_p (claremont102) said :
#13

Helmut,

systemctl is indeed part of systemd. I cannot help to solve any problems you are having with it. In any case, ipp-usb is active because driverless gives an output, which itself looks OK.

> Am I interpreting this correctly, my printer has no driver?

Your interpretation is incorrect. Basically, it means you do not need a vendor driver. You do not need HPLIP.

That long string is a URI. *Substitute* for it in this command:

  lpadmin -p 6455pro -v "URI" -E -m everywhere

Test printing with

  lp -d 6455pro /etc/nsswitch.conf

Revision history for this message
Helmut Schulz (clawinus9) said :
#14

The test failed.

helmut@helmut-HP-ENVY-Desktop:~$ lp -d 6455pro /etc/nsswitch.conf
lp: Error - The printer or class does not exist.
helmut@helmut-HP-ENVY-Desktop:~$

Revision history for this message
brian_p (claremont102) said :
#15

> p: Error - The printer or class does not exist.

Please give the exact lpadmin command used.

Revision history for this message
Helmut Schulz (clawinus9) said :
#16

Thanks for your help. After reconnecting the Printer cable, the printer worked again.