Leap - no HP 3390 printer after auto-update

Installed leap a while back and everything was working fine. A couple of days ago there was a recommended update. After that the printer will no longer work. Print Mgr says it the printer is not connected. YaST2 Printer config says there is no printer que available. It is an HP 3390 connected via usb. I have tried to reconfigure using YaST2/Printer, and even the HP Device Manager from withing YaST. With YaST it gets to building a Driver Db, stalls out and errors that it could not build the Db. If I try the HP button in YaST, it identifies the correct printer, but then freezes. Not even Task Manager will shut it down. The rest of the system is find, but I have to do a hard reboot to get rid of it. Just need my printer back.

Thanks in advance for any help,

System:    Host: mikey-HP-Compaq-dc7900-Convertible-Minitower Kernel: 3.19.0-43-generic x86_64 (64 bit gcc: 4.8.2)
           Desktop: MATE 1.12.0 (Gtk 3.10.8~8+qiana)
           Distro: Linux Mint 17.3 Rosa
Machine:   System: Hewlett-Packard product: HP Compaq dc7900 Convertible Minitower
           Mobo: Hewlett-Packard model: 3032h
           Bios: Hewlett-Packard v: 786G1 v01.09 date: 09/30/2008
CPU:       Dual core Intel Core2 Duo E8400 (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) bmips: 11969
           clock speeds: max: 3000 MHz 1: 1998 MHz 2: 1998 MHz
Graphics:  Card-1: NVIDIA G86 [Quadro NVS 290] bus-ID: 01:00.0
           Card-2: NVIDIA GT216 [GeForce GT 220] bus-ID: 20:00.0
           Display Server: X.Org 1.17.1 drivers: nouveau (unloaded: fbdev,vesa)
           Resolution: 1280x1024@60.0hz, 1280x1024@60.0hz
           GLX Renderer: Gallium 0.4 on NV86
           GLX Version: 3.0 Mesa 10.5.9 Direct Rendering: Yes
Audio:     Card-1 Creative Labs CA0106 Soundblaster
           driver: snd_ca0106 port: 2200 bus-ID: 07:04.0
           Card-2 Intel 82801JD/DO (ICH10 Family) HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-3 NVIDIA GT216 HDMI Audio Controller
           driver: snd_hda_intel bus-ID: 20:00.1
           Sound: Advanced Linux Sound Architecture v: k3.19.0-43-generic

any help? really could use a printer.

Well, maybe some more information would be useful here just to get started…

With the printer attached (and turned on), is it enumerated with lsusb command?

lsusb
lsusb -v

Is it detected via the hp backend?

/usr/lib/cups/backend/hp

If these steps check out as expected, use the HP diagnostic utilities to investigate further

hp-doctor
hp-check

If you need to share the output they produce, copy/paste it to http://paste.opensuse.org/ and share the URL that it generates here.

Thank you and below is the outputs, everything ran fine, until hp-check. It shows some errors and also does not finish. It hit the DISCOVERED SCANNER DEVICES and stayed there, working, spinning.

:~> lsusb
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 03f0:3517 Hewlett-Packard LaserJet 3390
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dad@linux-gchk:~> lsusb -v

verbose section on printer:

:~> lsusb -v

Bus 007 Device 002: ID 03f0:3517 Hewlett-Packard LaserJet 3390
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x03f0 Hewlett-Packard
  idProduct          0x3517 LaserJet 3390
  bcdDevice            1.00
  iManufacturer           1 Hewlett-Packard
  iProduct                2 HP LaserJet 3390
  iSerial                 3 00CNRJR03861
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           85
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      3 IEEE 1284.4 compatible bidirectional
      iInterface             16 1284.4 Printer
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             255
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              16
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface             17 Printer
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             255
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      1 
      iInterface             19 HP EWS
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             255
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

:~> /usr/lib/cups/backend/hp
direct hp:/usb/HP_LaserJet_3390?serial=00CNRJR03861 "HP LaserJet 3390" "HP LaserJet 3390 USB 00CNRJR03861 HPLIP" "MFG:Hewlett-Packard;MDL:HP LaserJet 3390;CLS:PRINTER;DES:HP LaserJet 3390;SN:00CNRJR03861;"

cont. next post

:~> hp-doctor

HP Linux Imaging and Printing System (ver. 3.14.6)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-13 Hewlett-Packard 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  42.1) 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....
error: HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.novell.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an openSUSE 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: suse-42.1 version is not supported. Using suse-13.1 versions dependencies to verify and install...

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

 Kernel: 4.1.15-8-default #1 SMP PREEMPT Wed Jan 20 16:41:00 UTC 2016 (0e3b3ab) GNU/Linux
 Host: linux-gchk
 Proc: 4.1.15-8-default #1 SMP PREEMPT Wed Jan 20 16:41:00 UTC 2016 (0e3b3ab) GNU/Linux
 Distribution: suse 42.1
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.14.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for suse distro  42.1 version 

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

[hplip]
version=3.14.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

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
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.14.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 03/07/16 05:18:05
version = 3.14.6


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

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

 policykit            Admin-Policy-framework    OPTIONAL        -               0.113           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.15            OK         -
 network              Network-wget              OPTIONAL        -               1.14            OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.24          OK         -
 error: avahi-utils   avahi-utils               OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'
 error: dbus          DBus                      REQUIRED        -               1.8.16          MISSING    'DBUS may not be installed or not running'
 cups                 CUPS                      REQUIRED        1.1             1.7.5           OK         'CUPS Scheduler is running'
 error: xsane         SANE-GUI                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'

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

 error: reportlab     Python-PDF-Lib            OPTIONAL        2.0             -               MISSING    'reportlab needs to be installed'
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           MISSING    'libcrypto needs to be installed'
 error: pil           Python-Image-Lib          OPTIONAL        -               -               MISSING    'pil needs to be installed'
 pyqt4-dbus           PyQt4-DBUS                REQUIRED        4.0             4.11.4          OK         -
 error: libjpeg       JPEG-Lib                  REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 libpthread           POSIX-Threads-Lib         REQUIRED        -               2.19            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.2.0           OK         -
 error: python-devel  Python-SDK                REQUIRED        2.2             2.7.9           MISSING    'python-devel needs to be installed'
 pyqt4                Python-Qt4                REQUIRED        4.0             4.11.4          OK         -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               1.7.5           MISSING    'cups-devel needs to be installed'
 error: sane-devel    SANE-SDK                  REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libusb        USB-Lib                   REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 Scan-Lib                  REQUIRED        -               -               OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               1.7.5           MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 error: python-notify Desktop-notifications     OPTIONAL        -               -               MISSING    'python-notify needs to be installed'

------------------------------
|  Compile Time Dependencies |
------------------------------

 error: gcc           gcc-Compiler              REQUIRED        -               4.8.5           MISSING    'gcc needs to be installed'
 error: libtool       Build-tools               REQUIRED        -               -               MISSING    'libtool needs to be installed'
 make                 GNU-Build-tools           REQUIRED        3.0             4.0             OK         -

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

 cupsext              CUPS-Extension            REQUIRED        -               3.14.6          OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.14.6          OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.14.6          OK         -

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

 hpaio                HPLIP-SANE-Backend        REQUIRED        -               3.14.6          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension       REQUIRED        -               3.14.6          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

|        

That last pipe is what is "spinning, never stops.
Thanks for your help. Hope this shows you something.

Please show output of

lpstat -t

I tried lpstat -t and nothing happens. It enters as though startgin the command, moves to the next line and does nothing. Does not return to the prompt line, does not provide and output.

I haven’t experienced that behaviour with lpstat before. Please post your defined printers (if any) in /etc/cups/printers.conf and also cancel any stale print jobs

cancel -a

Does ‘lpstat -t’ then execute as expected?

/etc/cups/printers.conf

# Printer configuration file for CUPS v1.7.5
# Written by cupsd on 2016-03-03 22:42
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter hplaserjet3390>
UUID urn:uuid:7854121d-f6ca-3527-69f3-e7f393d26166
Info HP LaserJet 3390 with driver HP LaserJet 3390 Postscript (recommended)
DeviceURI usb://HP/LaserJet%203390?serial=00CNRJR03861
State Stopped
StateMessage Unable to send data to printer.
StateTime 1457066135
Reason paused
Type 8425556
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy allowallforanybody
ErrorPolicy retry-job
</Printer>

in terminal ran cancel -a, then lpstat -t. Lpstat still does the same thing. nothing.

Do you think a reinstall of cups would help?

I see you use hplip 3.14.6.
You might try adding the repository at http://download.opensuse.org/repositories/Printing/openSUSE_Leap_42.1/ and updating to 3.15.11, then running hp-setup.
I switched system packages to the Printing repository, and our HP printer works correctly.
Regards,
Howard

Thanks for the tip. I installed the printer repo, and updated the hplib drivers. The lpstat -t ran this time. Below is what the terminal window showed.

 lpstat -t
scheduler is running
no system default destination
lpstat: Success
lpstat: Success
lpstat: Success
lpstat: Success
lpstat: Success

next?

OK, the HP Device Manager is now available. I started it and began working through the process. At step 3 of 3 it failed with the following error:

HP Device Manager - Setup
Fax queue setup failed.
Error : successful-ok-ignored-or-substituted-attributes

But it looks like the printer set up correctly.
It now shows up in the HP icon in the panel bar.
But it does not show up in the printer dialog when I try to print.

After a reboot, the printer doesn’t show in the hp tool anymore.
Restarting YaST2/Printer config, doesn’t locate the printer, says “There is no printer queue”.
Back to scratch.

Did you install the printer via YaST2/Printer config?

When there, click Add. (If this is the first time there, it could take several minutes to check for drivers. At least there’s a progress bar.) On the new screen, click Run hp-setup at the lower right, and follow that. In the configuration screen make sure to check all three boxes for Use as Default, Accept Print Jobs, and Enable Printing.
Howard

I note that printers.conf has ‘State Stopped’. Try editing it manually (root privileges required) to ‘State Idle’. Then restart CUPS with

systemctl restart cups

BTW, I also note that you’re not using HPLIP (with the hp backend), but instead configured to use a postscript driver (and CUPS usb backend)

Info HP LaserJet 3390 with driver HP LaserJet 3390 Postscript (recommended)
DeviceURI usb://HP/LaserJet%203390?serial=00CNRJR03861

changed printer.conf to Idle, restarted cups

opened YaST2/ Printer configuration

initial screen shows “There is no print queue”

selected “Add”, it spins for awhile, then shows the progress bar as it is “Detecting printers …”

Next screen shows "No connections. Try ‘Detect More’ or use the ‘Connection Wizard’.

progress bar to build driver data base. A minor success in that this is the first time it has not crashed. It seems to have completed the db.

I tried the connection wizard, but nothing shows available via USB port or HP Device. I double checked the cables. and reset the printer. The confusing thing is why the printer is not showing, as an available device at this point.

In lower right I can select the Alternative setup for HP printers, so will do that.

Selected Run hp-setup
1 of 3, selected usb - selected next
2 of 3, it identified the printer on the usb, shows HP Laser Jet 3390- selected next
it hangs for a long time at this step, it took over 5 minutes
3 of 3, PPD file: in yellow (Not found, Click browse button to select a PPD file.)
Browsed - only options are:
hp-laserjet_3390-hpijs-pcl3.ppd.gz
hp-laserjet_3390-pcl3.ppd.gz
hp-laserjet_3390-ps.ppd.gz

selected hpijs last time and it failed. This time selected pcl3

add printer, spins for a few minutes

error message:
Printer queue setup failed.
Error : successful-ok-ignored-or-substituted-attributes

OK

Creating New Printer Setup

Rolls back to YaST2 Printer Config, but the window is empty, same error, no print queue.

nada

next ?

From Printing repository, my 13.2 KDE 64-bit system has

# Status             Package                        | Summary                                  | Installed (Available)     |       Size

[Keep]               OpenPrintingPPDs               | PPD files from OpenPrinting.org          | 4.0.0.2-47.1              |   42.1 KiB
[Keep]               OpenPrintingPPDs-ghostscript   | PPD files from OpenPrinting.org which... | 4.0.0.2-47.1              |   14.8 MiB
[Keep]               OpenPrintingPPDs-hpijs         | PPD files from OpenPrinting.org which... | 4.0.0.2-47.1              |    1.8 MiB
[Keep]               OpenPrintingPPDs-postscript    | PPD files from OpenPrinting.org for P... | 4.0.0.2-47.1              |   26.8 MiB
[Keep]               cups                           | The Common UNIX Printing System          | 2.1.3-191.1               |   10.0 MiB
[Keep]               cups-client                    | CUPS Client Programs                     | 2.1.3-191.1               |  414.5 KiB
[Keep]               cups-filters                   | OpenPrinting CUPS filters, backends, ... | 1.0.71-57.1               |    1.9 MiB
[Keep]               cups-filters-cups-browsed      | OpenPrinting cups-browsed for CUPS Br... | 1.0.71-57.1               |   73.7 KiB
[Keep]               cups-filters-foomatic-rip      | OpenPrinting CUPS filter foomatic-rip    | 1.0.71-57.1               |  126.9 KiB
[Keep]               cups-filters-ghostscript       | OpenPrinting CUPS filters for Ghostsc... | 1.0.71-57.1               |  158.9 KiB
[Keep]               cups-libs                      | Libraries for CUPS                       | 2.1.3-191.1               |    2.0 MiB
[Keep]               cups-libs-32bit                | Libraries for CUPS                       | 2.1.3-191.1               |  873.0 KiB
[Keep]               ghostscript                    | The Ghostscript interpreter for PostS... | 9.18-75.1                 |   62.6 MiB
[Keep]               ghostscript-fonts-other        | Optional Fonts for Ghostscript           | 9.06-20.1                 |    1.4 MiB
[Keep]               ghostscript-fonts-std          | Basic Fonts for Ghostscript              | 9.06-20.1                 |    4.6 MiB
[Keep]               ghostscript-x11                | X11 library for Ghostscript              | 9.18-75.1                 |  107.9 KiB
[Keep]               gutenprint                     | Printer drivers for CUPS from the Gut... | 5.2.11-56.1               |   67.1 MiB
[Keep]               hplip                          | HP's Printing, Scanning, and Faxing S... | 3.15.11-132.1             |   15.2 MiB
[Keep]               hplip-hpijs                    | Only plain printing with HPLIP printe... | 3.15.11-132.1             |   10.7 MiB
[Keep]               hplip-sane                     | Only plain scanning with HPLIP scan d... | 3.15.11-132.1             |  176.3 KiB
[Keep]               manufacturer-PPDs              | PPD Files from Printer Manufacturers     | 10.2-526.1                |   15.5 MiB
[Keep]               parallel-printer-support       | Parallel Printer Support                 | 1.00-23.1                 |      494 B

Do you have all those?

exactly the same.

Thinking over the past two weeks, the only thing I have done to the system was to install Apache OpenOffice from an RPM.

Can we see your configured repos?

zypper lr -d

Does the following detect and configure your USB-attached printer?

hp-setup