Announcement

Collapse
No announcement yet.

HP laserjet is being a stubborn brat

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HP laserjet is being a stubborn brat

    I fought with my HP Laserjet P1005 all yesterday morning, but it refused to print no matter what I tried. I tried everything except hitting it with a belt (I don't believe in corporal punishment). I need to find some way to get it to cooperate. It won't print from this Lenovo ThinkCenter desktop no matter what I try. On my Lenovo laptop and on an Asus Netbook it's always been simple. You make sure HPLIP is installed (which it usually is already) and then you can do one of two things:
    1. Run the hp-setup wizard
    2. Go into Printers in System Settings and choose your printer
    This has always worked flawlessly on previous machines I've had with Kubuntu 13.x and 14.04 on laptops. Now this is 14.04 on this desktop and it's just not working. It shows in System Settings/Printers that the Laserjet P1005 is installed, but it won't print. The print job goes to the print spool, but nothing prints. The printer is plugged into a USB port that I know works.

    In System Settings/Printers I tried removing the printer and then purging HPLIP (sudo apt-get remove --purge hplip) and then reinstalling and then choosing my printer from the list. No dice. Still won't print. Then I tried removing it again and running the hp-setup wizard, but that won't even run. I ran it from the command line and got this:

    Code:
    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.
    
    error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
    warning: Qt/PyQt 4 initialization failed.
    error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
    tom@tom-ThinkCentre-M58p:/usr/bin$
    I've purged and reinstalled HPLIP several times so I don't get why it's missing anything. I did try running hp-setup with the -i parameter added and still didn't have any luck. I'm at my wits end and would appreciate any suggestions.

    Btw, this is a USB-based printer. It is not wireless.
    Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
    ================================

    #2
    Compare to:
    Code:
    stuart@office:~$ apt-cache depends hplip
    hplip
      Depends: libc6
      Depends: libcups2
      Depends: libdbus-1-3
      Depends: libhpmud0
      Depends: libsane
      Depends: libsane-hpaio
      Depends: hplip-data
      Depends: printer-driver-hpcups
      Depends: python3
      Depends: python3
      Depends: python3-dbus
      Depends: python3-pil
      Depends: python3-pexpect
      Depends: python3-reportlab
      Depends: coreutils
        coreutils:i386
      Depends: lsb-base
      Depends: adduser
      Depends: cups
        cups:i386
      Depends: policykit-1
        policykit-1:i386
      Depends: python3-gi
      Depends: wget
        wget:i386
      Suggests: hplip-gui
      Suggests: hplip-doc
      Suggests: python3-notify2
      Suggests: <system-config-printer>
      Recommends: printer-driver-postscript-hp
      Recommends: sane-utils
        sane-utils:i386
      Recommends: avahi-daemon
        avahi-daemon:i386
      Conflicts: hplip:i386

    Please Read Me

    Comment


      #3
      My depends list is slightly different:
      $ apt-cache depends hplip
      hplip
      Depends: libc6
      Depends: libcups2
      Depends: libdbus-1-3
      Depends: libhpmud0
      Depends: libsane
      Depends: libsane-hpaio
      Depends: hplip-data
      Depends: printer-driver-hpcups
      Depends: python
      Depends: python
      Depends: python-dbus
      Depends: python-imaging
      Depends: python-pexpect
      Depends: python-reportlab
      Depends: coreutils
      coreutils:i386
      Depends: lsb-base
      Depends: adduser
      Depends: cups
      cups:i386
      Depends: policykit-1
      policykit-1:i386
      Depends: python-gobject-2
      Depends: wget
      wget:i386
      Suggests: hplip-gui
      Suggests: hplip-doc
      Suggests: python-notify
      Suggests: <system-config-printer>
      Recommends: printer-driver-postscript-hp
      Recommends: sane-utils
      sane-utils:i386
      Recommends: avahi-daemon
      avahi-daemon:i386
      Conflicts: hplip:i386
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #4
        Here's mine:

        Code:
        tom@tom-ThinkCentre-M58p:~$ apt-cache depends hplip
        hplip
          Depends: libc6
          Depends: libcups2
          Depends: libdbus-1-3
          Depends: libhpmud0
          Depends: libsane
          Depends: libsane-hpaio
          Depends: hplip-data
          Depends: printer-driver-hpcups
          Depends: python
          Depends: python
          Depends: python-dbus
          Depends: python-imaging
          Depends: python-pexpect
          Depends: python-reportlab
          Depends: coreutils
            coreutils:i386
          Depends: lsb-base
          Depends: adduser
          Depends: cups
            cups:i386
          Depends: policykit-1
            policykit-1:i386
          Depends: python-gobject-2
          Depends: wget
            wget:i386
          Suggests: hplip-gui
          Suggests: hplip-doc
          Suggests: python-notify
          Suggests: <system-config-printer>
          Recommends: printer-driver-postscript-hp
          Recommends: sane-utils
            sane-utils:i386
          Recommends: avahi-daemon
            avahi-daemon:i386
          Conflicts: hplip:i386
        Maybe I just need to install everything that it suggests?
        Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
        ================================

        Comment


          #5
          An update: Success! I've got the thing working. I installed everything listed as "suggests" and "recommends" and then the hp-setup wizard worked again. It gave me the choice of downloading a proprietary driver or of choosing from a list. I chose the former. Thanks for your help.

          Can you use "apt-cache depends" + [name of program] for anything you've installed? That's a nifty trick. I think it could help me troubleshoot a lot of things.
          Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
          ================================

          Comment


            #6
            Sure can! You can also use rdepends for reverse depends on thing like library files or components.
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment

            Working...
            X