Printer HP does not want to work after EOS crash

Hello!
Hardware information:
https://clbin.com/XEira
Boot log:
https://clbin.com/YkCxc

Grub Update Causing Unbootable OS On UEFI Systems

This was good, and I needed EOS as of zero to install.
Advantage: you can get additional experience.
I have done this. Everything is okay but with Hewlett Packard printer does not work.
WLAN at printer is in order. But computer does not see printer.
http://localhost:631 - There are no printer.
Then new selected, HP Officejet Pro 8020 Series, hpcups 3.22.6.
In menu “Printers” is now this printer with status:
Angehalten - “Rendering completed”. And no connection PC-printer.
Good. Further I have made.
sudo systemctl stop org.cups.cupsd.service
[sudo] password for vlm:
Failed to stop org.cups.cupsd.service: Unit org.cups.cupsd.service not loaded.
[vlm@dh370 ~]$ sudo systemctl disable org.cups.cupsd.service
Failed to disable unit: Unit file org.cups.cupsd.service does not exist.
[vlm@dh370 ~]$ sudo pacman -S cups cups-filters cups-pdf cups-pk-helper system-config-printer
warning: cups-1:2.4.2-3 is up to date – reinstalling
warning: cups-filters-1.28.16-1 is up to date – reinstalling
warning: cups-pdf-3.0.1-6 is up to date – reinstalling
warning: cups-pk-helper-0.2.7-1 is up to date – reinstalling
warning: system-config-printer-1.5.18-1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…

Package (5) Old Version New Version Net Change

extra/cups 1:2.4.2-3 1:2.4.2-3 0,00 MiB
extra/cups-filters 1.28.16-1 1.28.16-1 0,00 MiB
extra/cups-pdf 3.0.1-6 3.0.1-6 0,00 MiB
extra/cups-pk-helper 0.2.7-1 0.2.7-1 0,00 MiB
extra/system-config-printer 1.5.18-1 1.5.18-1 0,00 MiB

Total Installed Size: 23,08 MiB
Net Upgrade Size: 0,00 MiB

:: Proceed with installation? [Y/n] y
(5/5) checking keys in keyring [----------------------------] 100%
(5/5) checking package integrity [----------------------------] 100%
(5/5) loading package files [----------------------------] 100%
(5/5) checking for file conflicts [----------------------------] 100%
:: Processing package changes…
(1/5) reinstalling cups-filters [----------------------------] 100%
(2/5) reinstalling cups [----------------------------] 100%
(3/5) reinstalling cups-pdf [----------------------------] 100%
(4/5) reinstalling cups-pk-helper [----------------------------] 100%
(5/5) reinstalling system-config-printer [----------------------------] 100%
:: Running post-transaction hooks…
(1/8) Creating system user accounts…
(2/8) Reloading system manager configuration…
(3/8) Reloading device manager configuration…
(4/8) Arming ConditionNeedsUpdate…
(5/8) Reloading system bus configuration…
(6/8) Updating icon theme caches…
(7/8) Checking which packages need to be rebuilt
(8/8) Updating the desktop file MIME type cache…
[vlm@dh370 ~]$ sudo systemctl daemon-reload
[vlm@dh370 ~]$ sudo systemctl enable org.cups.cupsd.service
Failed to enable unit: Unit file org.cups.cupsd.service does not exist.
Can you please help?
Thanks.

@chucha

cupsd is the deamon the servicename is simply cups.service.

Try the following command sudo systemctl enable cups.service. When no error message appears then the cups.service was enabled. Now start the cups.service with this command sudo systemctl start cups.service.

Your Computer shuld now recognize the printer

:vulcan_salute:

EDIT: install the hplip package too

1 Like

Thanks.
[vlm@dh370 lampp]$ sudo systemctl enable cups.service
[sudo] password for vlm:
[vlm@dh370 lampp]$ sudo systemctl start cups.service
[vlm@dh370 lampp]$
Thus, no error!!!
It is pity - http://localhost:631/admin/ says:
“No printers found.”

still info
$sudo systemctl status cups.service
â—Ź cups.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; preset: disabled)
Active: active (running) since Fri 2022-09-09 20:23:31 CEST; 2h 30min ago
TriggeredBy: â—Ź cups.path
â—Ź cups.socket
Docs: man:cupsd(8)
Main PID: 438 (cupsd)
Status: “Scheduler is running…”
Tasks: 1 (limit: 19048)
Memory: 6.9M
CPU: 232ms
CGroup: /system.slice/cups.service
└─438 /usr/bin/cupsd -l

Sep 09 20:23:30 dh370 systemd[1]: Starting CUPS Scheduler…
Sep 09 20:23:31 dh370 systemd[1]: Started CUPS Scheduler.
#############################################
Hm… it looks good but does not work ???

@chucha

cupsd is running and if you installed hplip , you should able to add your printer with the cups web ui or the corresponding app on your System. On my Computer I have a HP Officejet 2620 USB all in one device . Its working for me.

:vulcan_salute:

1 Like

Thank you,
but does not work.

  1. hplip is installed und find no printer.
  2. Now did.
    1 [vlm@dh370 lampp]$ sudo systemctl stop org.cups.cupsd.service
    …Failed to stop org.cups.cupsd.service: Unit org.cups.cupsd.service not loaded.
  3. [vlm@dh370 lampp]$ sudo systemctl disable org.cups.cupsd.service
    Failed to disable unit: Unit file org.cups.cupsd.service does not exist
  4. [vlm@dh370 lampp]$ sudo pacman -S cups cups-filters cups-pdf cups-pk-helper system-config-printer
    warning: cups-1:2.4.2-3 is up to date – reinstalling
    warning: cups-filters-1.28.16-1 is up to date – reinstalling
    warning: cups-pdf-3.0.1-6 is up to date – reinstalling
    warning: cups-pk-helper-0.2.7-1 is up to date – reinstalling
    warning: system-config-printer-1.5.18-1 is up to date – reinstalling
    resolving dependencies…
    looking for conflicting packages…

Package (5) Old Version New Version Net Change

extra/cups 1:2.4.2-3 1:2.4.2-3 0,00 MiB
extra/cups-filters 1.28.16-1 1.28.16-1 0,00 MiB
extra/cups-pdf 3.0.1-6 3.0.1-6 0,00 MiB
extra/cups-pk-helper 0.2.7-1 0.2.7-1 0,00 MiB
extra/system-config-printer 1.5.18-1 1.5.18-1 0,00 MiB

Total Installed Size: 23,08 MiB
Net Upgrade Size: 0,00 MiB

:: Proceed with installation? [Y/n] y
(5/5) checking keys in keyring [----------------------------] 100%
(5/5) checking package integrity [----------------------------] 100%
(5/5) loading package files [----------------------------] 100%
(5/5) checking for file conflicts [----------------------------] 100%
:: Processing package changes…
(1/5) reinstalling cups-filters [----------------------------] 100%
(2/5) reinstalling cups [----------------------------] 100%
(3/5) reinstalling cups-pdf [----------------------------] 100%
(4/5) reinstalling cups-pk-helper [----------------------------] 100%
(5/5) reinstalling system-config-printer [----------------------------] 100%
:: Running post-transaction hooks…
(1/8) Creating system user accounts…
(2/8) Reloading system manager configuration…
(3/8) Reloading device manager configuration…
(4/8) Arming ConditionNeedsUpdate…
(5/8) Reloading system bus configuration…
(6/8) Updating icon theme caches…
(7/8) Checking which packages need to be rebuilt
(8/8) Updating the desktop file MIME type cache…
4. [vlm@dh370 lampp]$ sudo systemctl daemon-reload
5.[vlm@dh370 lampp]$ sudo systemctl enable org.cups.cupsd.service
Failed to enable unit: Unit file org.cups.cupsd.service does not exist.
Sorry, I don’t understand…

As advised by torius, org.cups.cupsd.service is deprecated and you should enable cups.service
If localhost:631/admin/ says “No printer found” check the network and/or printer is switched on, not sleeping, not idle, etc.

2 Likes

@chucha
org.cups.cupsd.service is the old name, now its only cups.service. A lot of How tos are older and some of them probably contain this name.

If this command systemctl --version shows you systemd 251 (251.4-1-arch)
then you have definitly the newer version .

:vulcan_salute:

2 Likes

Thanks, but it looks bad.

  1. Printers (two, HP und still other printer Brother) are online
    and available from PC with Windows (my wife).
  2. [vlm@dh370 lampp]$ systemctl --version
    systemd 251 (251.4-1-arch)
    so, there is in order.
  3. [vlm@dh370 lampp]$ sudo systemctl enable cups.service
    [sudo] password for vlm:
    [vlm@dh370 lampp]$ sudo systemctl start cups.service
    [vlm@dh370 lampp]$
    Here is all OK too.
    Result - no printer.
    Is there idea ?
    P.S. Before new installation there was no problem.

P.S.
I have notebook .
There was crach too and now EOS is installed.
And - the same problem with printer.
Here : with tool in MATE:
Error of CUPS-server.
By using of CUPS error: " server-error-internal-error" .
Found solution Im internet for this this problem -
cp /usr/share/cups/cupsd.config.default /etc/cups/cupsd.conf
But in my system there exist no /usr/share/cups/cupsd.config.default
And… have no idea, only vodka to drink.

Assuming this result was at http://localhost:631/admin - Add Printer, were you asked for a username and password?

No… that’s deprecated… finito… gone…
Use latest Wiki info
https://discovery.endeavouros.com/printers/printers/2021/03/
https://wiki.archlinux.org/title/CUPS

1 Like

Yes.
http://localhost:631/admin
In menu Manage/new printer find.

Doesn’t match my http://localhost:631/admin page so assuming language/locale barrier, I’m out.
Good Luck.
:smiley:

1 Like

“I’m out.Good Luck.”
OK, thanks.
In https://wiki.archlinux.org/title/Avahi#Hostname_resolution.
Avahi is installed and “works”.
File /etc/nsswitch.conf does not exist in my system.
Must I create ???

1 Like

Screenshot_PR_2022-09-10 20-33-30
I have done it.
With sudo. But when I do next step, this value is disable again !!!

Sorry I made a huge mistake. I didńt saw that you have a wifi Printer. I never owned one. The only thing i kno you need a working wlan connection from your Computer or Notebook with wpa_supplicant package installed plus the Printer Driver…

Sorry Iam probably out too. I dont know what the issue is…

:vulcan_salute:

1 Like

Could you try this?

It worked for me today on EnOS-Xfce DE, while I could not get
http://localhost:631/admin
to work, just like you.

It is in the Arch repos…
so I simply did:
sudo pacman -S system-config-printer
…and it immediately worked! :wink:


Of course, I had to install the vendor-drivers first, which you seem to have done already.

1 Like

[quote=“ivanhoe, post:18, topic:31534”]
…and it immediately worked!
[/quote]Very good!
With me:
was reinstall und … Success is zero.
sudo pacman -S system-config-printer
[sudo] password for vlm:
warning: system-config-printer-1.5.18-1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…

Package (1) Old Version New Version Net Change

extra/system-config-printer 1.5.18-1 1.5.18-1 0,00 MiB

Total Installed Size: 6,92 MiB
Net Upgrade Size: 0,00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [------------------------------------] 100%
(1/1) checking package integrity [------------------------------------] 100%
(1/1) loading package files [------------------------------------] 100%
(1/1) checking for file conflicts [------------------------------------] 100%
:: Processing package changes…
(1/1) reinstalling system-config-printer [------------------------------------] 100%
:: Running post-transaction hooks…
(1/6) Reloading system manager configuration…
(2/6) Reloading device manager configuration…
(3/6) Arming ConditionNeedsUpdate…
(4/6) Reloading system bus configuration…
(5/6) Checking which packages need to be rebuilt
(6/6) Updating the desktop file MIME type cache…
vlm@dh370 ~]$
http://localhost:631/admin can not find printer.
I think problem is “Rendering completed”.
But further - no idea…

Additional.
[vlm@dh370 ~]$ lpstat -p -d
printer HP disabled since Sa 10 Sep 2022 20:35:04 CEST -
Rendering completed
no system default destination
[vlm@dh370 ~]$