LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-23-2023, 01:22 PM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,154
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Debian Bullseye64bits (one of 3) not recognizing a printer at a Buster32bit Raspbian server


Hello,
I installed backward Raspbian Buster on a PI2 server because the newer versions are screwed up for attaching my HP Deskjet 2544.
1. client 2x notebook 64bits Bullseye print/scan on that server
2. client a notebook 32bits bookworm print/scan on that server
3. client a desktop 64bits Bullseye is only recognizing the scanner (not printing)

When I try to start system-config-printer on the client 3, failures appear. See attachments.

Furthermore, CUPS interface started with http://localhost:631/admin/ in a browser start CUPS but dont see the network printer.

cat /var/log/cups/error_log
Code:
E [23/Aug/2023:11:38:44 +0200] [CGI] ippfind (PID 12025) stopped with status 1!
E [23/Aug/2023:11:39:03 +0200] [CGI] ippfind (PID 12817) stopped with status 1!
E [23/Aug/2023:11:39:03 +0200] [cups-deviced] PID 12807 (driverless) stopped with status 1!
E [23/Aug/2023:11:52:06 +0200] [CGI] ippfind (PID 13517) stopped with status 1!
E [23/Aug/2023:11:52:06 +0200] [cups-deviced] PID 13508 (driverless) stopped with status 1!
lpstat -a
Code:
lpstat: Forbidden
This is weird because I cannot see difference between the clients 1 and 3.
Has anybody an idea where to find the issue or where to act in my system?
Attached Thumbnails
Click image for larger version

Name:	Bildschirmfoto vom 2023-08-23 20-09-58.png
Views:	9
Size:	119.9 KB
ID:	41520   Click image for larger version

Name:	Bildschirmfoto vom 2023-08-23 20-13-31.png
Views:	10
Size:	111.0 KB
ID:	41521  

Last edited by floppy_stuttgart; 08-23-2023 at 01:24 PM.
 
Old 08-25-2023, 11:13 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,304

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Hi.

I'd ignore most of your information, and concentrate on point 3, the machine failing. All the notebooks can print fine, so you can exonerate the Raspbian server as a possible source of issues.

Error 1 = permissions, IIRC. I don't know if that's the same as status 1, but you could check. I'd take on the desktop as a device that won't print, and do the familiar stuff. You have a couple of working examples, so you can even copy configs. Delete stuff and reinstall for starters.

Scanning is a different server, a different process. Write a note to self to make sure your next printer has an IP on your local network. It's pretty painless then - even mobile phones can print.
 
Old 09-04-2023, 03:11 AM   #3
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,154

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
So far, after install of samba on the server for connecting later windooze machines, all clients show

ippfind
ipp://piprinterserver.local:49631/printers/HP_Deskjet_2540_series

on the client where the printer dont work..
a) system-config-printer dont start, "Error of the CUPS-Server", error "forbidden" message
b) the printer is found in http://localhost:631/admin/ but with the link dnssd://HP%20Deskjet%202540%20series%20%40%20piprinterserver._ipp._tcp.local/cups?uuid=xxxxxxxxxxx (on the working clients the link is implicitclass://HP_Deskjet_2540_series_piprinterserver/ )

This is the last status. I am still searching (reinstall cusps etc. on the client did not help).
 
Old 01-05-2024, 10:55 AM   #4
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,154

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
According https://forums.linuxmint.com/viewtopic.php?t=340611 I tried to remove hplip

apt remove hplip
Quote:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
hplip-data libsane-hpaio printer-driver-hpcups printer-driver-postscript-hp python3-pexpect
python3-ptyprocess python3-renderpm python3-reportlab python3-reportlab-accel
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
hplip
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 522 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 359309 files and directories currently installed.)
Removing hplip (3.21.2+dfsg1-2) ...
Processing triggers for dbus (1.12.28-0+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...
apt-get autoremove
Quote:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
hplip-data libsane-hpaio printer-driver-hpcups printer-driver-postscript-hp python3-pexpect
python3-ptyprocess python3-renderpm python3-reportlab python3-reportlab-accel
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
After this operation, 19.8 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 359248 files and directories currently installed.)
Removing hplip-data (3.21.2+dfsg1-2) ...
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 empty so not removed
dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/copier' not empty so not removed
dpkg: warning: while removing hplip-data, directory '/usr/share/hplip/base/pexpect' not empty so not removed
Removing libsane-hpaio:amd64 (3.21.2+dfsg1-2) ...
Removing printer-driver-hpcups (3.21.2+dfsg1-2) ...
Removing printer-driver-postscript-hp (3.21.2+dfsg1-2) ...
Removing python3-pexpect (4.8.0-2) ...
Removing python3-ptyprocess (0.7.0-1) ...
Removing python3-renderpm:amd64 (3.5.59-2) ...
Removing python3-reportlab (3.5.59-2) ...
Removing python3-reportlab-accel:amd64 (3.5.59-2) ...
Processing triggers for cups (2.3.3op2-3+deb11u6) ...
ls /usr/share/hplip/
Quote:
__pycache__ base copier fax installer pcard prnt scan ui5
groups
root sys lpadmin

Is there any method to delete properly hplip?
 
Old 01-05-2024, 11:08 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
would be nice to avoid that in the future. Uninstalling and reinstalling is not the best way to solve problems. Probably it was the easiest on windows, and probably it helps on linux sometimes, but no, this is not the way to do that.
It looks like you have a permission issue (something is Verboten), but actually I don't know what went wrong.
If you really want to remove a software [completely] you need to use apt purge <package>. You can safely remove __pycache__ dirs if you wish, and if you have uninstalled hplip you can safely remove /usr/share/hplip too.
And occasionally it may solve that permission issue too.
 
1 members found this post helpful.
Old 01-05-2024, 12:19 PM   #6
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,154

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
apt purge hplip
did it. Thanks.

on 2 different clients I have now..
Verbindung: dnssd://HP%20Deskjet%202540%20series%20%40%20piprinterserver._ipp._tcp.local/cups?uuid=9ac043a4-1862-37a2-4f59-ee59efd021f7

On one client, the error (the not working one), I have the error "Der Drucker »piprinterserver.local« kann nicht lokalisiert werden" by trying to have a test page.

I cannot remember where to find this definition in the client. Any idea?


nano /var/log/cups/error_log

Quote:
E [05/Jan/2024:17:33:40 +0100] [CGI] ippfind (PID 837506) stopped with status 1!
E [05/Jan/2024:17:33:40 +0100] [cups-deviced] PID 837495 (driverless) stopped with status 1!
E [05/Jan/2024:17:47:26 +0100] [CGI] ippfind (PID 873419) stopped with status 1!
E [05/Jan/2024:18:02:13 +0100] [CGI] ippfind (PID 907814) stopped with status 1!
E [05/Jan/2024:18:02:13 +0100] [cups-deviced] PID 907805 (driverless) stopped with status 1!
E [05/Jan/2024:18:12:41 +0100] HP_Deskjet_2546r_All-in-one_Printer: File "/usr/lib/cups/filter/hpcups" not available: No such file or directory
E [05/Jan/2024:18:13:53 +0100] [CGI] ippfind (PID 934568) stopped with status 2!
E [05/Jan/2024:18:13:53 +0100] [cups-deviced] PID 934557 (driverless) stopped with status 2!
E [05/Jan/2024:18:18:16 +0100] HP_Deskjet_2546r_All-in-one_Printer: File "/usr/lib/cups/filter/hpcups" not available: No such file or directory
E [05/Jan/2024:18:30:00 +0100] [CGI] ippfind (PID 4142) stopped with status 2!
W [05/Jan/2024:18:30:29 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExistsrofile id \'HP_Deskjet_2546r_All-in-one_Printer-Gray..\' already exists
W [05/Jan/2024:18:30:29 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExistsrofile id \'HP_Deskjet_2546r_All-in-one_Printer-RGB..\' already exists
W [05/Jan/2024:18:30:41 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExistsrofile id \'HP_Deskjet_2546r_All-in-one_Printer-Gray..\' already exists
W [05/Jan/2024:18:30:41 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExistsrofile id \'HP_Deskjet_2546r_All-in-one_Printer-RGB..\' already exists
E [05/Jan/2024:18:33:49 +0100] [CGI] ippfind (PID 4231) stopped with status 2!
E [05/Jan/2024:18:33:49 +0100] [cups-deviced] PID 4222 (driverless) stopped with status 2!
E [05/Jan/2024:19:08:32 +0100] [CGI] ippfind (PID 6030) stopped with status 1!
E [05/Jan/2024:19:08:32 +0100] [cups-deviced] PID 6020 (driverless) stopped with status 1!
E [05/Jan/2024:19:09:25 +0100] [CGI] ippfind (PID 6071) stopped with status 1!
E [05/Jan/2024:19:10:13 +0100] [CGI] ippfind (PID 6115) stopped with status 1!
in root in the non working client
lpinfo -m
lpinfo: Forbidden

weird..

groups (on the non working client)
root sys lpadmin

groups (on the working client)
root

perhaps I should remove lpadmin?

Last edited by floppy_stuttgart; 01-05-2024 at 01:17 PM.
 
Old 01-06-2024, 03:07 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
I see at least 2 different error messages inside:
File "/usr/lib/cups/filter/hpcups" not available: No such file or directory
and
profile already exist.

removing lpadmin will definitely not help on these. hpcups probably belongs to the package hplip.
 
Old 01-07-2024, 08:30 AM   #8
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,154

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
on the non working client: removing root from group lpadmin and sys, helped to start system-config-printer.
error on the client still there "Der Drucker » « kann nicht lokalisiert werden".
ippfind still dont see anything but now

(non root)
lpstat -a
Quote:
HP-Deskjet-2546r-All-in-one-Printer akzeptiert Anfragen seit So 07 Jan 2024 15:03:16 CET
which is imho a progress. Let further test.

few errors can be seen with cups-browsed. Any idea what it is coming from?

on the non working client
cups-browsed -v
Quote:
Sun Jan 7 15:28:12 2024 Reading command line option -v, turning on debug mode (Log on standard error).
Sun Jan 7 15:28:12 2024 cups-browsed of cups-filters version 1.28.7 starting.
Sun Jan 7 15:28:12 2024 Reading config: BrowseRemoteProtocols dnssd cups
Sun Jan 7 15:28:12 2024 No "Browse..." line at all, accept all servers ("BrowseOrder Deny,Allow").
Sun Jan 7 15:28:12 2024 main() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 cups-browsed: Creating http connection to local CUPS daemon via domain socket: /run/cups/cups.sock
Sun Jan 7 15:28:12 2024 update_netifs() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 Network interfaces: lo (127.0.0.1, localhost), eno1 (192.168.178.88, ProDesk.fritz.box, 192.168.178.88*), lo (::1), eno1 (2003:c5:9f46:e600:af6:a018:acf3:aaf6), eno1 (2003:c5:9f46:e600:f639:9ff:fe1e:85f1), eno1 (fe80::f639:9ff:fe1e:85f1, ProDesk)
Sun Jan 7 15:28:12 2024 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: IPP-Create-Subscription
Sun Jan 7 15:28:12 2024 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: subscription ID=3161
Sun Jan 7 15:28:12 2024 cups-browsed (): cupsEnumDests
Sun Jan 7 15:28:12 2024 Printer HP-Deskjet-2546r-All-in-one-Printer: dnssd://HP%20Deskjet%202540%20series%20%40%20piprinterserver._ipp._tcp.local/cups?uuid=9ac043a4-1862-37a2-4f59-ee59efd021f7, 1a46b12e-c24d-30dc-5d74-e954ceaa0e8e
Sun Jan 7 15:28:12 2024 find_previous_queue() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 Using signal handler SIGACTION
Sun Jan 7 15:28:12 2024 Avahi server connection got available, setting up service browsers.
Sun Jan 7 15:28:12 2024 failed to bind CUPS Browsing socket: Address already in use
Sun Jan 7 15:28:12 2024 listening
Sun Jan 7 15:28:12 2024 browse_callback() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 Avahi Browser: NEW: service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipp._tcp' in domain 'local' on interface 'eno1' (IPv6)
Sun Jan 7 15:28:12 2024 browse_callback() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 Avahi Browser: NEW: service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipp._tcp' in domain 'local' on interface 'eno1' (IPv6)
Sun Jan 7 15:28:12 2024 browse_callback() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 Avahi Browser: CACHE_EXHAUSTED
Sun Jan 7 15:28:12 2024 browse_callback() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 Avahi Browser: ALL_FOR_NOW
Sun Jan 7 15:28:12 2024 browse_callback() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 Avahi Browser: NEW: service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipps._tcp' in domain 'local' on interface 'eno1' (IPv6)
Sun Jan 7 15:28:12 2024 browse_callback() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 Avahi Browser: NEW: service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipps._tcp' in domain 'local' on interface 'eno1' (IPv6)
Sun Jan 7 15:28:12 2024 browse_callback() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 Avahi Browser: CACHE_EXHAUSTED
Sun Jan 7 15:28:12 2024 browse_callback() in THREAD 140122534357696
Sun Jan 7 15:28:12 2024 Avahi Browser: ALL_FOR_NOW
Sun Jan 7 15:28:17 2024 resolve_callback() in THREAD 140122534357696
Sun Jan 7 15:28:17 2024 update_netifs() in THREAD 140122534357696
Sun Jan 7 15:28:17 2024 Network interfaces: lo (127.0.0.1, localhost), eno1 (192.168.178.88, ProDesk.fritz.box, 192.168.178.88*), lo (::1), eno1 (2003:c5:9f46:e600:af6:a018:acf3:aaf6), eno1 (2003:c5:9f46:e600:f639:9ff:fe1e:85f1), eno1 (fe80::f639:9ff:fe1e:85f1, ProDesk)
Sun Jan 7 15:28:17 2024 Avahi-Resolver: Failed to resolve service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipp._tcp' in domain 'local' with host name '(null)' and port 0 on interface 'eno1' (IPv4/IPv6 Unknown): Timeout reached
Sun Jan 7 15:28:17 2024 listening
Sun Jan 7 15:28:17 2024 resolve_callback() in THREAD 140122534357696
Sun Jan 7 15:28:17 2024 update_netifs() in THREAD 140122534357696
Sun Jan 7 15:28:18 2024 Network interfaces: lo (127.0.0.1, localhost), eno1 (192.168.178.88, ProDesk.fritz.box, 192.168.178.88*), lo (::1), eno1 (2003:c5:9f46:e600:af6:a018:acf3:aaf6), eno1 (2003:c5:9f46:e600:f639:9ff:fe1e:85f1), eno1 (fe80::f639:9ff:fe1e:85f1, ProDesk)
Sun Jan 7 15:28:18 2024 Avahi-Resolver: Failed to resolve service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipp._tcp' in domain 'local' with host name '(null)' and port 0 on interface 'eno1' (IPv4/IPv6 Unknown): Timeout reached
Sun Jan 7 15:28:18 2024 listening
Sun Jan 7 15:28:18 2024 resolve_callback() in THREAD 140122534357696
Sun Jan 7 15:28:18 2024 update_netifs() in THREAD 140122534357696
Sun Jan 7 15:28:18 2024 Network interfaces: lo (127.0.0.1, localhost), eno1 (192.168.178.88, ProDesk.fritz.box, 192.168.178.88*), lo (::1), eno1 (2003:c5:9f46:e600:af6:a018:acf3:aaf6), eno1 (2003:c5:9f46:e600:f639:9ff:fe1e:85f1), eno1 (fe80::f639:9ff:fe1e:85f1, ProDesk)
Sun Jan 7 15:28:18 2024 Avahi-Resolver: Failed to resolve service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipps._tcp' in domain 'local' with host name '(null)' and port 0 on interface 'eno1' (IPv4/IPv6 Unknown): Timeout reached
Sun Jan 7 15:28:18 2024 listening
Sun Jan 7 15:28:18 2024 resolve_callback() in THREAD 140122534357696
Sun Jan 7 15:28:18 2024 update_netifs() in THREAD 140122534357696
Sun Jan 7 15:28:18 2024 Network interfaces: lo (127.0.0.1, localhost), eno1 (192.168.178.88, ProDesk.fritz.box, 192.168.178.88*), lo (::1), eno1 (2003:c5:9f46:e600:af6:a018:acf3:aaf6), eno1 (2003:c5:9f46:e600:f639:9ff:fe1e:85f1), eno1 (fe80::f639:9ff:fe1e:85f1, ProDesk)
Sun Jan 7 15:28:18 2024 Avahi-Resolver: Failed to resolve service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipps._tcp' in domain 'local' with host name '(null)' and port 0 on interface 'eno1' (IPv4/IPv6 Unknown): Timeout reached
Sun Jan 7 15:28:18 2024 listening
on the working client
cups-browsed -v
Quote:
Sun Jan 7 15:27:28 2024 Reading command line option -v, turning on debug mode (Log on standard error).
Sun Jan 7 15:27:28 2024 cups-browsed of cups-filters version 1.28.7 starting.
Sun Jan 7 15:27:28 2024 Reading config: BrowseRemoteProtocols dnssd cups
Sun Jan 7 15:27:28 2024 No "Browse..." line at all, accept all servers ("BrowseOrder Deny,Allow").
Sun Jan 7 15:27:28 2024 main() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 cups-browsed: Creating http connection to local CUPS daemon via domain socket: /run/cups/cups.sock
Sun Jan 7 15:27:28 2024 update_netifs() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Network interfaces: lo (127.0.0.1, localhost), wlp3s0 (192.168.178.116, t520-3.fritz.box, 192.168.178.116*), lo (::1), wlp3s0 (2003:c5:9f46:e600:507e:e90c:be65:264e), wlp3s0 (fe80::669e:2d67:4fe5:6426, t520)
Sun Jan 7 15:27:28 2024 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: IPP-Create-Subscription
Sun Jan 7 15:27:28 2024 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: subscription ID=3144
Sun Jan 7 15:27:28 2024 cups-browsed (): cupsEnumDests
Sun Jan 7 15:27:28 2024 Printer HP-Deskjet-2546r-All-in-one-Printer: dnssd://HP%20Deskjet%202540%20series%20%40%20piprinterserver._ipp._tcp.local/cups?uuid=9ac043a4-1862-37a2-4f59-ee59efd021f7, 591a400a-7855-3e95-7264-3afc2fcc60ec
Sun Jan 7 15:27:28 2024 find_previous_queue() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Using signal handler SIGACTION
Sun Jan 7 15:27:28 2024 Avahi server connection got available, setting up service browsers.
Sun Jan 7 15:27:28 2024 failed to bind CUPS Browsing socket: Address already in use
Sun Jan 7 15:27:28 2024 listening
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: NEW: service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipp._tcp' in domain 'local' on interface 'wlp3s0' (IPv6)
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: NEW: service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipp._tcp' in domain 'local' on interface 'wlp3s0' (IPv6)
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: NEW: service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipp._tcp' in domain 'local' on interface 'wlp3s0' (IPv4)
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: NEW: service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipp._tcp' in domain 'local' on interface 'wlp3s0' (IPv4)
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: CACHE_EXHAUSTED
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: ALL_FOR_NOW
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: NEW: service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipps._tcp' in domain 'local' on interface 'wlp3s0' (IPv6)
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: NEW: service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipps._tcp' in domain 'local' on interface 'wlp3s0' (IPv6)
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: NEW: service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipps._tcp' in domain 'local' on interface 'wlp3s0' (IPv4)
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: NEW: service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipps._tcp' in domain 'local' on interface 'wlp3s0' (IPv4)
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: CACHE_EXHAUSTED
Sun Jan 7 15:27:28 2024 browse_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Avahi Browser: ALL_FOR_NOW
Sun Jan 7 15:27:28 2024 resolve_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 update_netifs() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Network interfaces: lo (127.0.0.1, localhost), wlp3s0 (192.168.178.116, t520-3.fritz.box, 192.168.178.116*), lo (::1), wlp3s0 (2003:c5:9f46:e600:507e:e90c:be65:264e), wlp3s0 (fe80::669e:2d67:4fe5:6426, t520)
Sun Jan 7 15:27:28 2024 Avahi Resolver: Service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipp._tcp' in domain 'local' with host name 'piprinterserver.local' and port 49631 on interface 'wlp3s0' (IPv4).
Sun Jan 7 15:27:28 2024 Avahi-Resolver: Instance: HP Deskjet 2540 series
Sun Jan 7 15:27:28 2024 Found CUPS queue/class: HP_Deskjet_2540_series on host piprinterserver.local.
Sun Jan 7 15:27:28 2024 examine_discovered_printer_record: TXT.note: |Wohnzimmer|
Sun Jan 7 15:27:28 2024 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: IPP-Get-Notifications
Sun Jan 7 15:27:28 2024 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: no events
Sun Jan 7 15:27:28 2024 Matching printer "HP_Deskjet_2540_series_piprinterserver" with properties Host = "piprinterserver.local", Port = 49631, Service Name = "HP Deskjet 2540 series @ piprinterserver", Domain = "local" with the BrowseFilter lines in cups-browsed.conf
Sun Jan 7 15:27:28 2024 All BrowseFilter lines matched or skipped, accepting printer HP_Deskjet_2540_series_piprinterserver
Sun Jan 7 15:27:28 2024 local_printer_is_same_device() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Printer with URI ipp://HP%20Deskjet%202540%20series%20%40%20piprinterserver._ipp._tcp.local/cups (or IPP/IPPS equivalent) already exists, printer ignored.
Sun Jan 7 15:27:28 2024 listening
Sun Jan 7 15:27:28 2024 resolve_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 update_netifs() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Network interfaces: lo (127.0.0.1, localhost), wlp3s0 (192.168.178.116, t520-3.fritz.box, 192.168.178.116*), lo (::1), wlp3s0 (2003:c5:9f46:e600:507e:e90c:be65:264e), wlp3s0 (fe80::669e:2d67:4fe5:6426, t520)
Sun Jan 7 15:27:28 2024 Avahi Resolver: Service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipp._tcp' in domain 'local' with host name 'piprinterserver.local' and port 49631 on interface 'wlp3s0' (IPv4).
Sun Jan 7 15:27:28 2024 Avahi-Resolver: Instance: My_printer_Maeve_s_MacBook_Air
Sun Jan 7 15:27:28 2024 Found CUPS queue/class: My_printer_Maeve_s_MacBook_Air on host piprinterserver.local.
Sun Jan 7 15:27:28 2024 Remote DNS-SD-advertised CUPS queue My_printer_Maeve_s_MacBook_Air on host piprinterserver.local is raw, ignored.
Sun Jan 7 15:27:28 2024 listening
Sun Jan 7 15:27:28 2024 resolve_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 update_netifs() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 Network interfaces: lo (127.0.0.1, localhost), wlp3s0 (192.168.178.116, t520-3.fritz.box, 192.168.178.116*), lo (::1), wlp3s0 (2003:c5:9f46:e600:507e:e90c:be65:264e), wlp3s0 (fe80::669e:2d67:4fe5:6426, t520)
Sun Jan 7 15:27:28 2024 Avahi Resolver: Service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipps._tcp' in domain 'local' with host name 'piprinterserver.local' and port 49631 on interface 'wlp3s0' (IPv4).
Sun Jan 7 15:27:28 2024 Avahi-Resolver: Instance: My_printer_Maeve_s_MacBook_Air
Sun Jan 7 15:27:28 2024 Found CUPS queue/class: My_printer_Maeve_s_MacBook_Air on host piprinterserver.local.
Sun Jan 7 15:27:28 2024 Remote DNS-SD-advertised CUPS queue My_printer_Maeve_s_MacBook_Air on host piprinterserver.local is raw, ignored.
Sun Jan 7 15:27:28 2024 listening
Sun Jan 7 15:27:28 2024 resolve_callback() in THREAD 139906113919680
Sun Jan 7 15:27:28 2024 update_netifs() in THREAD 139906113919680
Sun Jan 7 15:27:29 2024 Network interfaces: lo (127.0.0.1, localhost), wlp3s0 (192.168.178.116, t520-3.fritz.box, 192.168.178.116*), lo (::1), wlp3s0 (2003:c5:9f46:e600:507e:e90c:be65:264e), wlp3s0 (fe80::669e:2d67:4fe5:6426, t520)
Sun Jan 7 15:27:29 2024 Avahi Resolver: Service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipps._tcp' in domain 'local' with host name 'piprinterserver.local' and port 49631 on interface 'wlp3s0' (IPv4).
Sun Jan 7 15:27:29 2024 Avahi-Resolver: Instance: HP Deskjet 2540 series
Sun Jan 7 15:27:29 2024 Found CUPS queue/class: HP_Deskjet_2540_series on host piprinterserver.local.
Sun Jan 7 15:27:29 2024 examine_discovered_printer_record: TXT.note: |Wohnzimmer|
Sun Jan 7 15:27:29 2024 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: IPP-Get-Notifications
Sun Jan 7 15:27:29 2024 cups-browsed [BrowsePoll /run/cups/cups.sock:0]: no events
Sun Jan 7 15:27:29 2024 Matching printer "HP_Deskjet_2540_series_piprinterserver" with properties Host = "piprinterserver.local", Port = 49631, Service Name = "HP Deskjet 2540 series @ piprinterserver", Domain = "local" with the BrowseFilter lines in cups-browsed.conf
Sun Jan 7 15:27:29 2024 All BrowseFilter lines matched or skipped, accepting printer HP_Deskjet_2540_series_piprinterserver
Sun Jan 7 15:27:29 2024 local_printer_is_same_device() in THREAD 139906113919680
Sun Jan 7 15:27:29 2024 Printer with URI ipps://HP%20Deskjet%202540%20series%20%40%20piprinterserver._ipps._tcp.local/cups (or IPP/IPPS equivalent) already exists, printer ignored.
Sun Jan 7 15:27:29 2024 listening
Sun Jan 7 15:27:33 2024 resolve_callback() in THREAD 139906113919680
Sun Jan 7 15:27:33 2024 update_netifs() in THREAD 139906113919680
Sun Jan 7 15:27:33 2024 Network interfaces: lo (127.0.0.1, localhost), wlp3s0 (192.168.178.116, t520-3.fritz.box, 192.168.178.116*), lo (::1), wlp3s0 (2003:c5:9f46:e600:507e:e90c:be65:264e), wlp3s0 (fe80::669e:2d67:4fe5:6426, t520)
Sun Jan 7 15:27:33 2024 Avahi-Resolver: Failed to resolve service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipp._tcp' in domain 'local' with host name '(null)' and port 0 on interface 'wlp3s0' (IPv4/IPv6 Unknown): Timeout reached
Sun Jan 7 15:27:33 2024 listening
Sun Jan 7 15:27:33 2024 resolve_callback() in THREAD 139906113919680
Sun Jan 7 15:27:33 2024 update_netifs() in THREAD 139906113919680
Sun Jan 7 15:27:33 2024 Network interfaces: lo (127.0.0.1, localhost), wlp3s0 (192.168.178.116, t520-3.fritz.box, 192.168.178.116*), lo (::1), wlp3s0 (2003:c5:9f46:e600:507e:e90c:be65:264e), wlp3s0 (fe80::669e:2d67:4fe5:6426, t520)
Sun Jan 7 15:27:33 2024 Avahi-Resolver: Failed to resolve service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipp._tcp' in domain 'local' with host name '(null)' and port 0 on interface 'wlp3s0' (IPv4/IPv6 Unknown): Timeout reached
Sun Jan 7 15:27:33 2024 listening
Sun Jan 7 15:27:33 2024 resolve_callback() in THREAD 139906113919680
Sun Jan 7 15:27:33 2024 update_netifs() in THREAD 139906113919680
Sun Jan 7 15:27:33 2024 Network interfaces: lo (127.0.0.1, localhost), wlp3s0 (192.168.178.116, t520-3.fritz.box, 192.168.178.116*), lo (::1), wlp3s0 (2003:c5:9f46:e600:507e:e90c:be65:264e), wlp3s0 (fe80::669e:2d67:4fe5:6426, t520)
Sun Jan 7 15:27:33 2024 Avahi-Resolver: Failed to resolve service 'HP Deskjet 2540 series @ piprinterserver' of type '_ipps._tcp' in domain 'local' with host name '(null)' and port 0 on interface 'wlp3s0' (IPv4/IPv6 Unknown): Timeout reached
Sun Jan 7 15:27:33 2024 listening
Sun Jan 7 15:27:33 2024 resolve_callback() in THREAD 139906113919680
Sun Jan 7 15:27:33 2024 update_netifs() in THREAD 139906113919680
Sun Jan 7 15:27:33 2024 Network interfaces: lo (127.0.0.1, localhost), wlp3s0 (192.168.178.116, t520-3.fritz.box, 192.168.178.116*), lo (::1), wlp3s0 (2003:c5:9f46:e600:507e:e90c:be65:264e), wlp3s0 (fe80::669e:2d67:4fe5:6426, t520)
Sun Jan 7 15:27:33 2024 Avahi-Resolver: Failed to resolve service 'My_printer_Maeve_s_MacBook_Air @ piprinterserver' of type '_ipps._tcp' in domain 'local' with host name '(null)' and port 0 on interface 'wlp3s0' (IPv4/IPv6 Unknown): Timeout reached
Sun Jan 7 15:27:33 2024 listening
nano /var/log/cups/error_log (as root on the non working client)
Quote:
W [08/Jan/2024:08:35:45 +0100] No limit for CUPS-Get-Document defined in policy default - using Send-Document's policy.
E [08/Jan/2024:08:35:45 +0100] Unknown directive JobPrivateAccess on line 90 of /etc/cups/cupsd.conf.
E [08/Jan/2024:08:35:45 +0100] Unknown directive JobPrivateValues on line 91 of /etc/cups/cupsd.conf.
E [08/Jan/2024:08:35:45 +0100] Unknown directive SubscriptionPrivateAccess on line 92 of /etc/cups/cupsd.conf.
E [08/Jan/2024:08:35:45 +0100] Unknown directive SubscriptionPrivateValues on line 93 of /etc/cups/cupsd.conf.
E [08/Jan/2024:08:47:37 +0100] [CGI] ippfind (PID 3917) stopped with status 1!
Finally, all works.

On the client which was not working:
- root has to be taken away from the lpadmin group (this will make possible the use of system-config-printer )
- "Browsing Off" in /etc/cups/cupsd.conf (NOT On)
- using system-config-printer by giving the uri 192.168.178.50 (IP of the server), made the printer appeared / was proposed (whatever ippfind dont see the printer)

Last edited by floppy_stuttgart; 01-13-2024 at 01:39 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Raspbian GNU/Linux upgrade from Stretch to Raspbian Buster 10 LXer Syndicated Linux News 0 07-26-2019 06:12 PM
LXer: Raspbian GNU/Linux upgrade from Jessie to Raspbian Stretch 9 LXer Syndicated Linux News 0 03-01-2018 07:50 PM
LXer: Raspbian GNU/Linux upgrade from Wheezy to Raspbian Jessie 8 LXer Syndicated Linux News 1 06-09-2016 12:12 PM
[SOLVED] HP deskjet 2544 allinone printer on raspbian server not working; 03f0:c211 floppy_stuttgart MEPIS 0 05-02-2015 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration