On Thursday, 29 October 2020 14:16:17 GMT Peter Humphrey wrote:
> Afternoon all,
> 
> Before my trials with booting, and eventually rebuilding everything from the
> ground up, my Lexmark C2425 printer was working fine. Now the KDE system
> settings printer applet can't detect it, even though pinging it works.

Is the IP address of the printer the same?

When you 'nmap -A -T4 -Pn -v <PRINTER_IP>' do you see open ports?  It should 
offer 80, 443, 515, 9100, 631 depending on the protocols it uses.


> Then when I point firefox to localhost:631 cups's behaviour has changed. If
> I click Adding Printers and Classes, instead of a dialogue to let me add a
> printer I now get a help page telling me how to do it at the command line.

Hmm ... something must be amiss in your setup.  When I go to the 
Administration tab and click to add another printer the familiar cupsd GUI 
offers various protocols to choose from.  Have you set USE="X"?

Bear in mind, I don't use any network upnp autoconfiguration service on my LAN 
and therefore my use flags may be different to yours:

$ equery u cups
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for net-print/cups-2.3.3-r1:
 U I
 + + X            : Add support for X11
 - - abi_x86_32   : 32-bit (x86) libraries
 + + acl          : Add support for Access Control Lists
 + + dbus         : Enable dbus support for anything that needs it (gpsd, 
gnomemeeting, etc)
 - - debug        : Enable extra debug codepaths, like asserts and extra 
output. If you want to get meaningful backtraces see https://wiki.gentoo.org/
wiki/Project:Quality_Assurance/Backtraces
 - - kerberos     : Add kerberos support
 - - lprng-compat : Do not install lp... binaries so cups and lprng can 
coexist. 
 + + pam          : Add support for PAM (Pluggable Authentication Modules) - 
DANGEROUS to arbitrarily flip
 + + ssl          : Add support for SSL/TLS connections (Secure Socket Layer / 
Transport Layer Security)
 - - static-libs  : Build static versions of dynamic libraries as well
 - - systemd      : Enable use of systemd-specific libraries and features like 
socket activation or session tracking
 + + threads      : Add threads support for various packages. Usually pthreads
 + + usb          : Add USB support to applications that have optional USB 
support (e.g. cups)
 - - xinetd       : Add support for the xinetd super-server
 - - zeroconf     : Support for DNS Service Discovery (DNS-SD)


> Even if I do manage to add the printer, cups reports that it isn't
> responding. I take this to mean I'm not using the right protocol. I've
> tried IPP, IPPS, HTTP and HTTPS, following that help page.

You haven't locked down the printer itself to limit which IP addresses it will 
allow connections from?

Have a look here in case there is some step you've missed out:

https://wiki.gentoo.org/wiki/Printing


> Package.use is the same as before, and I've tried with cups-browsed both
> running and not.
> 
> What am I missing?

Cups usually captures informative logs and you can set increased verbosity for 
more detail.  What do these logs report?

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to