Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Setup Network Printer (HP) driverless works in Gnome iso; how to with netinstall

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
fbodymechanic
Posts: 10
Joined: 2024-02-10 20:38
Been thanked: 1 time

[Solved] Setup Network Printer (HP) driverless works in Gnome iso; how to with netinstall

#1 Post by fbodymechanic »

So I had originally tried the bookworm GNOME iso with the calamares install, but it came with a LOT of extra bloaty stuff, so I tried again and did the normal tui network installer. One thing I did like though is that my printer (HP Envy 4500) worked out of the box driveless as a network printer.

I am at my wits end trying to figure it out what I need to do to get it working with starting in the netinstall. Cups was installed and it feels like everything is correct. I added system-config-printer, and that doesn't see it on the network. I tried telling it to find it but it asks for me to log in and both my user/password, user/wifi password and wifi admin user/password all don't work.

I tried hp-lip but it can't do it without a usb (it's a network printer)

I'm on Debian 12 GNOME. It literally just worked, was found, added and I was able to print instantaly from that installation media. So I know it's possible. It also just works out of the box on Fedora for whatever it's worth. But I'm several hours and have tried:

https://wiki.debian.org/Printing
https://www.debian.org/doc/manuals/debi ... ng.en.html
https://wiki.debian.org/CUPSDriverlessPrinting
https://manpages.debian.org/bookworm/hp ... .1.en.html

and this thread, but it's not super relevant but it's the closest thing I could find that might be able to help:

viewtopic.php?p=785201&hilit=network+pr ... me#p785201

I still cannot even get my computer to see the printer on the network. Help. Please before I have even less hair.
Last edited by fbodymechanic on 2024-03-06 20:03, edited 1 time in total.

lindi
Debian Developer
Debian Developer
Posts: 452
Joined: 2022-07-12 14:10
Has thanked: 1 time
Been thanked: 88 times

Re: Setup Network Printer (HP) driverless works in Gnome iso; how to with netinstall

#2 Post by lindi »

I always install my Debian 12 gnome desktop with the small netinstall .iso. As long as you have working network, it should not matter what media you use to install if you also select gnome desktop environment during installation?

fbodymechanic
Posts: 10
Joined: 2024-02-10 20:38
Been thanked: 1 time

Re: Setup Network Printer (HP) driverless works in Gnome iso; how to with netinstall

#3 Post by fbodymechanic »

In that case, I still have the 12.4 iso, I will liveboot and see. It may be that printing is broken on the 12.5 update then. . . Thanks - will report back @lindi

User avatar
bbbhltz
Posts: 166
Joined: 2024-01-10 14:53
Location: Normandy
XMMP/Jabber: bbbhltz@mailbox.org
Has thanked: 49 times
Been thanked: 33 times

Re: Setup Network Printer (HP) driverless works in Gnome iso; how to with netinstall

#4 Post by bbbhltz »

When you add your printer and select the make and model is it in the list?

I suppose you've installed hplip? When you did the full install with Calamares you say you had no further setup to do? In that case there must be something else to install.

Som ideas off the top of my head:
cups-core-drivers
foomatic-db
bbbhltz
longtime desktop Linux user; eternal newbie

fbodymechanic
Posts: 10
Joined: 2024-02-10 20:38
Been thanked: 1 time

Re: Setup Network Printer (HP) driverless works in Gnome iso; how to with netinstall

#5 Post by fbodymechanic »

bbbhltz wrote: 2024-03-06 18:57 When you add your printer and select the make and model is it in the list?

I suppose you've installed hplip? When you did the full install with Calamares you say you had no further setup to do? In that case there must be something else to install.

Som ideas off the top of my head:
cups-core-drivers
foomatic-db
It does not even show up as available to add to the list. My computer doesn't even acknowledge it's existence (I do not have firewall running)

Yes, I tried hplip - It requires a usb connection to set it up though, not network style. So I gave up on it and un-installed it since that was never installed previously, and I want it as a network printer.

fbodymechanic
Posts: 10
Joined: 2024-02-10 20:38
Been thanked: 1 time

Re: Setup Network Printer (HP) driverless works in Gnome iso; how to with netinstall

#6 Post by fbodymechanic »

I just installed this: I will post results

Code: Select all

bender@t480s:~$ sudo apt install cups-core-drivers foomatic-db
[sudo] password for bender: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cups-core-drivers is already the newest version (2.4.2-3+deb12u5).
cups-core-drivers set to manually installed.
The following additional packages will be installed:
  dc foomatic-db-engine libcupsimage2 libgutenprint-common libgutenprint9
  libhpmud0 liblcms2-utils libtcl8.6 libtk8.6 mscompress printer-driver-all
  printer-driver-brlaser printer-driver-c2050 printer-driver-c2esp
  printer-driver-cjet printer-driver-dymo printer-driver-escpr
  printer-driver-foo2zjs printer-driver-foo2zjs-common
  printer-driver-fujixerox printer-driver-gutenprint printer-driver-hpcups
  printer-driver-indexbraille printer-driver-m2300w printer-driver-min12xxw
  printer-driver-oki printer-driver-pnm2ppa printer-driver-postscript-hp
  printer-driver-ptouch printer-driver-pxljr printer-driver-sag-gdi
  printer-driver-splix tcl tcl8.6 tix tk tk8.6
Suggested packages:
  hplip hplip-cups openprinting-ppds foomatic-db-gutenprint gutenprint-locales
  psutils hannah-foo2zjs gutenprint-doc hplip-doc magicfilter | apsfilter
  tcl-tclreadline
The following NEW packages will be installed:
  dc foomatic-db foomatic-db-engine libcupsimage2 libgutenprint-common
  libgutenprint9 libhpmud0 liblcms2-utils libtcl8.6 libtk8.6 mscompress
  printer-driver-all printer-driver-brlaser printer-driver-c2050
  printer-driver-c2esp printer-driver-cjet printer-driver-dymo
  printer-driver-escpr printer-driver-foo2zjs printer-driver-foo2zjs-common
  printer-driver-fujixerox printer-driver-gutenprint printer-driver-hpcups
  printer-driver-indexbraille printer-driver-m2300w printer-driver-min12xxw
  printer-driver-oki printer-driver-pnm2ppa printer-driver-postscript-hp
  printer-driver-ptouch printer-driver-pxljr printer-driver-sag-gdi
  printer-driver-splix tcl tcl8.6 tix tk tk8.6
0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded.
reboot.

Nothing still. Is there anything I need to start? cups is started already.

Code: Select all

bender@t480s:~$ systemctl status cups
● cups.service - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.service; enabled; preset: enabled)
     Active: active (running) since Wed 2024-03-06 11:34:55 PST; 3min 15s ago
TriggeredBy: ● cups.path
             ● cups.socket
       Docs: man:cupsd(8)
   Main PID: 1105 (cupsd)
     Status: "Scheduler is running..."
      Tasks: 1 (limit: 47772)
     Memory: 53.8M
        CPU: 13.728s
     CGroup: /system.slice/cups.service
             └─1105 /usr/sbin/cupsd -l

Warning: some journal files were not opened due to insufficient permissions.
bender@t480s:~$ 


Still nothing showing though..
Screenshot from 2024-03-06 11-37-12.png

User avatar
bbbhltz
Posts: 166
Joined: 2024-01-10 14:53
Location: Normandy
XMMP/Jabber: bbbhltz@mailbox.org
Has thanked: 49 times
Been thanked: 33 times

Re: Setup Network Printer (HP) driverless works in Gnome iso; how to with netinstall

#7 Post by bbbhltz »

Ok. Are the avahi-daemon packages installed?
bbbhltz
longtime desktop Linux user; eternal newbie

fbodymechanic
Posts: 10
Joined: 2024-02-10 20:38
Been thanked: 1 time

Re: Setup Network Printer (HP) driverless works in Gnome iso; how to with netinstall

#8 Post by fbodymechanic »

And the last issue - gotta reboot. (sorry) @bbbhltz

Now she's up and moving! Thanks! It was the foomatic.db that was missing! Thanks
Screenshot from 2024-03-06 12-01-27.png

Post Reply