Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34

Thread: Library Printers

  1. #11
    Join Date
    Aug 2005
    Location
    Northern Michigan USA
    Beans
    2,399
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Library Printers

    yes and no luck with anything yet when I did with local ips

    Code:
    hp-setup xxx.xxx.x.x
    it showed the printer in some machines and in 2 let me set it up and the others it wouldn't set up and always the scanner wasn't detected. I have both users in sane and scanner groups. When I used to do printer setup in settings manager hplip was an option and set up worked flawlessly. Now that is never an option in printer setup but I googled all day yesterday and found the option of the command line hp-setup then ip address to access it
    Last edited by cmcanulty; November 29th, 2024 at 01:02 PM.

  2. #12
    Join Date
    Mar 2007
    Location
    Promiseland
    Beans
    1,731
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Library Printers

    Well, I just read an article in The Register https://www.theregister.com/2024/11/...ft_escl_issue/ that Windows 11 is having issues with eSCL devices - printers, scanners, fax machines.

    Here is an interesting bit from the article,
    The eSCL protocol comes from the Mopria eSCL specification. It enables driverless scanning over a network – Ethernet or Wi-Fi – or USB connections.
    Could it be a similar issue as to what Library Printers are experiencing?
    Last edited by him610; November 30th, 2024 at 04:37 PM. Reason: Added quote
    Cheers,


    The Linux Command Line at https://linuxcommand.org/

  3. #13
    Join Date
    Sep 2007
    Beans
    Hidden!
    Distro
    Ubuntu Mate 24.04 Noble Numbat

    Re: Library Printers

    I have no idea if this will help you as I'm a just home desktop user but when I first installed Mate 24.04 on my laptop I was unable to find and install my HP printer.Through some net research I downloaded and installed hplip and I was able to discover the printer but could not print anything.

    The issue ended up being the firewall.I simply disabled ufw and I was able to print a test page.Re-enable ufw and was able to print again and I've had no issues since.

    Again I have no idea if this will even help but I threw this out there just in case.
    UP THE IRONS!

  4. #14
    Join Date
    Aug 2005
    Location
    Northern Michigan USA
    Beans
    2,399
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Library Printers

    I saw that but it isn't the issue. I downloaded the recommended best tar file for ubuntu 24.04- hplip 3.23.12 and extracted it and then did ./configure and got the error

    Code:
    configure: error: cannot find avahi_client support
    but avahi is installed and the service is running:


    Code:
    librarian@Ubuntu5:~$ sudo systemctl status avahi-daemon
    [sudo] password for librarian: 
    ● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
         Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; pre>
         Active: active (running) since Sat 2024-11-30 11:41:54 EST; 32min ago
    TriggeredBy: ● avahi-daemon.socket
       Main PID: 3783192 (avahi-daemon)
         Status: "avahi-daemon 0.8 starting up."
          Tasks: 2 (limit: 4372)
         Memory: 1008.0K (peak: 1.4M)
            CPU: 2.987s
         CGroup: /system.slice/avahi-daemon.service
                 ├─3783192 "avahi-daemon: running [Ubuntu5.local]"
                 └─3783194 "avahi-daemon: chroot helper"
    
    Nov 30 11:41:54 Ubuntu5 avahi-daemon[3783192]: Joining mDNS multicast group on >
    Nov 30 11:41:54 Ubuntu5 avahi-daemon[3783192]: New relevant interface lo.IPv4 f>
    Nov 30 11:41:54 Ubuntu5 avahi-daemon[3783192]: Network interface enumeration co>
    Nov 30 11:41:54 Ubuntu5 avahi-daemon[3783192]: Registering new address record f>
    Nov 30 11:41:54 Ubuntu5 avahi-daemon[3783192]: Registering new address record f>
    Nov 30 11:41:54 Ubuntu5 avahi-daemon[3783192]: Registering new address record f>
    Nov 30 11:41:54 Ubuntu5 avahi-daemon[3783192]: Registering new address record f>
    Nov 30 11:41:54 Ubuntu5 avahi-daemon[3783192]: Files changed, reloading.
    Nov 30 11:41:54 Ubuntu5 avahi-daemon[3783192]: No service file found in /etc/av>
    Nov 30 11:41:55 Ubuntu5 avahi-daemon[3783192]: Server startup complete. Host na>
    lines 1-23
    this is just wackamole I have been running the library system 24 years and after a week of wasting all my time on this I don't know what to do next

  5. #15
    Join Date
    May 2018
    Location
    Here and There
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Library Printers

    Will you show us this please:
    Code:
    apt depends hplip | grep python3
    This is what I now show:
    Code:
     Depends: python3-dbus
      Depends: python3-gi
      Depends: python3-pexpect
      Depends: python3-pil
      Depends: <python3:any>
        python3
      Depends: python3 (<< 3.13)
      Depends: python3 (>= 3.12~)
      Depends: libpython3.12t64 (>= 3.12.1)
      Suggests: python3-notify2
      Suggests: python3-reportlab
    "When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama

  6. #16
    Join Date
    Aug 2005
    Location
    Northern Michigan USA
    Beans
    2,399
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Library Printers

    weird it only gives the avahi error not any dependency issues avahi service is on and running



    Code:
    librarian@Ubuntu5:~$ apt depends hplip | grep python3
    
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    
      Depends: python3-dbus
      Depends: python3-gi
      Depends: python3-pexpect
      Depends: python3-pil
      Depends: <python3:any>
        python3:i386
        python3
      Depends: python3 (<< 3.13)
      Depends: python3 (>= 3.12~)
      Depends: libpython3.12t64 (>= 3.12.1)
      Suggests: python3-notify2
      Suggests: python3-reportlab
    Last edited by cmcanulty; November 30th, 2024 at 07:07 PM.

  7. #17
    Join Date
    May 2018
    Location
    Here and There
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Library Printers

    This seems to at times and I hope very much this is one of those times that purge and reinstall helps. (Seeing how we are playing whackamole)
    Code:
    sudo apt purge hplip hplip-data hplip-doc hplip-gui hpijs-ppds libsane-hpaio printer-driver-hpcups printer-driver-hpijs
    Then a Re-install
    Code:
    sudo apt install hplip hplip-gui  python3-notify2  python3-reportlab  system-config-printer
    It should not touch any edits you have previously.

    Full Install will look like this:
    Code:
    Installing:                     
      hplip  hplip-gui  python3-notify2  python3-reportlab  system-config-printer
    
    Installing dependencies:
      avahi-utils         libcamd3          libgimp2.0t64          python3-freetype
      cups-pk-helper      libccolamd3       libinih1               python3-rlpycairo
      fonts-dejavu-extra  libcholmod5       libinireader0          system-config-printer-common
      gimp-data           libcolamd3        libsane-hpaio          system-config-printer-udev
      gir1.2-polkit-1.0   libexiv2-28       libsuitesparseconfig7  xsane
      gir1.2-secret-1     libexiv2-data     libumfpack6            xsane-common
      hplip-data          libgegl-0.4-0t64  printer-driver-hpcups
      libamd3             libgegl-common    python3-cups
      libbabl-0.1-0       libgexiv2-2       python3-cupshelpers
    
    Suggested packages:
      hplip-doc   python3-egenix-mxtexttools  gnome-software  | cuneiform      hylafax-client
      exiv2       python-reportlab-doc        python3-smbc    | tesseract-ocr  | mgetty-fax
      graphviz    rl-accel                    gimp            | ocrad
      pdf-viewer  rl-renderpm                 gocr            gv
    
    Summary:
      Upgrading: 0, Installing: 38, Removing: 0, Not Upgrading: 0
      Download size: 33.9 MB
      Space needed: 156 MB / 462 GB available
    
    Continue? [Y/n]
    Fingers Crossed
    "When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama

  8. #18
    Join Date
    Aug 2005
    Location
    Northern Michigan USA
    Beans
    2,399
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Library Printers

    1st command not any return like yours

    Code:
    librarian@Ubuntu5:~$ sudo apt purge hplip hplip-data hplip-doc hplip-gui hpijs-ppds libsane-hpaio printer-driver-hpcups printer-driver-hpijs
    [sudo] password for librarian: 
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      libhpmud0 python3-dbus.mainloop.pyqt5 python3-notify2
    Use 'sudo apt autoremove' to remove them.
    The following packages will be REMOVED:
      hpijs-ppds* hplip* hplip-data* hplip-doc* hplip-gui* libsane-hpaio*
      printer-driver-hpcups* printer-driver-hpijs*
    0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
    After this operation, 17.9 MB disk space will be freed.
    Do you want to continue? [Y/n] y
    (Reading database ... 327898 files and directories currently installed.)
    Removing hpijs-ppds (3.23.12+dfsg0-0ubuntu5) ...
    Removing hplip-gui (3.23.12+dfsg0-0ubuntu5) ...
    Removing hplip (3.23.12+dfsg0-0ubuntu5) ...
    Removing hplip-data (3.23.12+dfsg0-0ubuntu5) ...
    dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/ui5' not empty so not removed
    dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/scan' not 
    empty so not removed
    dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/prnt' not 
    empty so not removed
    dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/pcard' not
     empty so not removed
    dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/installer'
     not empty so not removed
    dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/fax' not e
    mpty so not removed
    dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/copier' no
    t empty so not removed
    dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/base/pexpe
    ct' not empty so not removed
    Removing hplip-doc (3.23.12+dfsg0-0ubuntu5) ...
    Removing libsane-hpaio:amd64 (3.23.12+dfsg0-0ubuntu5) ...
    No diversion 'diversion of /lib/udev/rules.d/56-hpmud.rules to /lib/udev/rules.d
    /56-hpmud.rules.usr-is-merged by usr-is-merged', none removed.
    Removing printer-driver-hpcups (3.23.12+dfsg0-0ubuntu5) ...
    Removing printer-driver-hpijs (3.23.12+dfsg0-0ubuntu5) ...
    Processing triggers for doc-base (0.11.2) ...
    Processing 1 removed doc-base file...
    Processing triggers for cups (2.4.7-1.2ubuntu7.3) ...
    lpinfo: Success
    Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
    Processing triggers for man-db (2.12.0-4build2) ...
    Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
    Processing triggers for desktop-file-utils (0.27-2build1) ...
    (Reading database ... 327146 files and directories currently installed.)
    Purging configuration files for hplip (3.23.12+dfsg0-0ubuntu5) ...
    Purging configuration files for hplip-gui (3.23.12+dfsg0-0ubuntu5) ...
    Purging configuration files for libsane-hpaio:amd64 (3.23.12+dfsg0-0ubuntu5) ...
    dpkg: warning: while removing libsane-hpaio:amd64, directory '/usr/share/hplip' not empty so not removed
    Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
    librarian@Ubuntu5:~$ librarian@Ubuntu5:~$ sudo apt install hplip hplip-gui  python3-notify2  python3-reportlab  system-config-printer
    librarian@Ubuntu5:~$
    2nd command

    [code]librarian@Ubuntu5:~$ sudo apt install hplip hplip-gui python3-notify2 python3-reportlab system-config-printer
    [sudo] password for librarian:
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    python3-notify2 is already the newest version (0.3-5).
    python3-notify2 set to manually installed.
    python3-reportlab is already the newest version (4.1.0-4).
    system-config-printer is already the newest version (1.5.18-1ubuntu9).
    system-config-printer set to manually installed.
    Suggested packages:
    hplip-doc
    The following NEW packages will be installed:
    hplip hplip-data hplip-gui libsane-hpaio printer-driver-hpcups
    0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
    Need to get 247 kB/7,072 kB of archives.
    After this operation, 15.0 MB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 printer-driver-hpcups amd64 3.23.12+dfsg0-0ubuntu5 [247 kB]
    Fetched 247 kB in 0s (757 kB/s)
    Selecting previously unselected package hplip-data.
    (Reading database ... 327141 files and directories currently installed.)
    Preparing to unpack .../hplip-data_3.23.12+dfsg0-0ubuntu5_all.deb ...
    Unpacking hplip-data (3.23.12+dfsg0-0ubuntu5) ...
    Selecting previously unselected package libsane-hpaio:amd64.
    Preparing to unpack .../libsane-hpaio_3.23.12+dfsg0-0ubuntu5_amd64.deb ...
    Unpacking libsane-hpaio:amd64 (3.23.12+dfsg0-0ubuntu5) ...
    Selecting previously unselected package printer-driver-hpcups.
    Preparing to unpack .../printer-driver-hpcups_3.23.12+dfsg0-0ubuntu5_amd64.deb .
    ..
    Unpacking printer-driver-hpcups (3.23.12+dfsg0-0ubuntu5) ...
    Selecting previously unselected package hplip.
    Preparing to unpack .../hplip_3.23.12+dfsg0-0ubuntu5_amd64.deb ...
    Unpacking hplip (3.23.12+dfsg0-0ubuntu5) ...
    Selecting previously unselected package hplip-gui.
    Preparing to unpack .../hplip-gui_3.23.12+dfsg0-0ubuntu5_all.deb ...
    Unpacking hplip-gui (3.23.12+dfsg0-0ubuntu5) ...
    Setting up hplip-data (3.23.12+dfsg0-0ubuntu5) ...
    /usr/share/hplip/base/imagesize.py:186: SyntaxWarning: invalid escape sequence '
    \#'
    re.compile('\#define\s+\S+\s+\d+') : ('image/x-xbitmap', xbmsize),
    /usr/share/hplip/base/imagesize.py:187: SyntaxWarning: invalid escape sequence '
    \/'
    re.compile('\/\* XPM \*\/') : ('image/x-xpixmap', xpmsize),
    /usr/share/hplip/base/imagesize.py:189: SyntaxWarning: invalid escape sequence '
    \*'
    re.compile('^II\*\x00') : ('image/tiff', tiffsize),
    /usr/share/hplip/fax/ledmfax.py:46: SyntaxWarning: invalid escape sequence '\d'
    http_result_pat = re.compile(b"""HTTP/\d.\d\s(\d+)""", re.I)
    Setting up printer-driver-hpcups (3.23.12+dfsg0-0ubuntu5) ...
    Setting up libsane-hpaio:amd64 (3.23.12+dfsg0-0ubuntu5) ...
    No diversion 'diversion of /lib/udev/rules.d/56-hpmud.rules to /lib/udev/rules.d
    /56-hpmud.rules.usr-is-merged by usr-is-merged', none removed.
    Setting up hplip (3.23.12+dfsg0-0ubuntu5) ...
    Creating/updating hplip user account...
    Setting up hplip-gui (3.23.12+dfsg0-0ubuntu5) ...
    Processing triggers for desktop-file-utils (0.27-2build1) ...
    Processing triggers for cups (2.4.7-1.2ubuntu7.3) ...
    lpinfo: Success
    Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
    Processing triggers for man-db (2.12.0-4build2) ...
    Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
    librarian@Ubuntu5:~$ [code]

  9. #19
    Join Date
    Aug 2005
    Location
    Northern Michigan USA
    Beans
    2,399
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Library Printers

    now i tried
    Code:
    hp-setup 192.168.1.167
    and it pops up with the printer and


    Code:
    Printer queue setup failed.
    when I hit next I get this error which google says is insufficient permissions must be run as root so I redid it with sudo

    Code:
    sudo hp-setup 192.168.1.167
    and get same error

    then based on that error I installed printer-driver-hpijs and then no change same error

    then I installed
    Code:
    sudo apt install python3-pip
    sudo apt-get install --assume-yes python3-pyqt5
    sudo apt-get install --assume-yes python3-dbus.mainloop.pyqt5
    sudo apt-get install --assume-yes python3-notify
    
    and 
    
    sudo apt-get install libcanberra-gtk-module
    then I got one step further it let me name the printer and location and then get same error

    Code:
    Printer queue setup failed.
    Last edited by cmcanulty; November 30th, 2024 at 08:44 PM.

  10. #20
    Join Date
    May 2018
    Location
    Here and There
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Library Printers

    It just might be left over cruft, please show this again:
    Code:
    ll /etc/cups/ppd/
    This is very weird to me.

    Also if you spin up a bootable USB of 24.04. can you see the printer/s?
    Last edited by 1fallen; November 30th, 2024 at 09:05 PM.
    "When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •