On 05/12/2020 02.57, Felix Miata wrote:
Carlos E. R. composed on 2020-12-04 13:15 (UTC+0100)>> On 04/12/2020 09.57, Felix Miata wrote:
Oops, I sent an empty reply. Sorry.
...
Each is configured with a static IP (V4 only, same as rest of LAN). ... Print test pages failed for both. /var/log/cups/error_log: E [04/Dec/2020:01:16:20 -0500] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
That corresponds to opening web page at <http://localhost:631> using IPv6, which you say is disabled. Anyway, it is not a printer error.
E [04/Dec/2020:01:18:11 -0500] [cups-driverd] Bad driver information file \"/usr/share/cups/drv/sample.drv\"!
This is perhaps the problem.
It exists.
Yes, but bad file.
Enable debug mode in CUPS. Then try printing plain text file from the command line (command lpr). Enable how?
I don't remember. But look in your own files. Edit "/etc/cups/cupsd.conf". There may be an entry: LogLevel warn Change it to something else, doc will say. "man cupsd.conf" # debug2 Log everything. # debug Log almost everything. # info Log all requests and state changes. # warn Log errors and warnings. # error Log only errors. # none Log nothing. Then restart service.
https://paste.opensuse.org/71683137 has some "debug" output suggested by http://localhost:631/help/, and some other session output that followed my reading of Axel's and your thread replies, and /var/log/cups/error_log. I'm still getting no such file or directory trying to print a test page from http://localhost:631/printers/<printername> and lpr somefile, and finding no clues in dmesg or journal.
dmesg or journal contain no cups logs.
Before sending this I tried one more time lpr out. That generated a new error message:
lpr: Error - No default printer.
I found a way to set a default from localhost/printers, and the error returned to
lpr: Unsupported document-format "text/plain"
What exact command line did you use? You can also use "lp". -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)