-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2020-12-05 at 05:46 +0100, Carlos E.R. wrote:
On 05/12/2020 05.33, Felix Miata wrote:
Carlos E. R. composed on 2020-12-05 04:46 (UTC+0100):
Felix Miata wrote: ...
Enable debug mode in CUPS. Then try printing plain text file from the command line (command lpr).
...
Then restart service. I changed it to debug, then rebooted, then 'lpr out'. No apparent changes resulted. /var/log/cups/error_log is at: https://paste.opensuse.org/41771064 It's very large, and very noisy, hard to identify if it contains anything useful for diagnosing what's gone wrong here.
I had a look. After some minutes, not seeing anything useful, I decided I'm too tired, and will have a look tomorrow, sorry.
A lot of the log is related to rendering the cups webpage, not the actual printing. Maybe 700 lines at the start. Would have been easier with the page closed. I think the job starts at line 731. Here is the gist of it: D [04/Dec/2020:23:18:33 -0500] Send-Document ipp://localhost:631/printers/HL5470DW D [04/Dec/2020:23:18:33 -0500] cupsdIsAuthorized: requesting-user-name="root" D [04/Dec/2020:23:18:33 -0500] [Job 24] Auto-typing file... D [04/Dec/2020:23:18:33 -0500] [Job 24] Request file type is text/plain. D [04/Dec/2020:23:18:33 -0500] Send-Document client-error-document-format-not-supported: Unsupported document-format \"text/plain\". E [04/Dec/2020:23:18:33 -0500] [Client 7] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/HL5470DW) from localhost Wow. Why? Well, perhaps try sending a one page pdf. :-? (No, don't) If you google «cups says Unsupported document-format \"text/plain\"» you find hits. First one: <https://lists.opensuse.org/opensuse-factory/2014-11/msg00179.html> «google search for client-error-document-format-not-supported suggested missing cups-filters: https://lists.debian.org/debian-printing/2014/02/msg00026.html Installed: cups-filters 1.0.58-35.6 libqpdf13 5.1.0-1.4 now Echo "Test" | lp works AND: regular printing now works.» That is correct, you do not have installed "cups-filters", it is not in your list. That's strange, yast should have installed that automatically. I have: cer@Telcontar:~> rpm -q cups-filters cups-filters-1.20.3-lp151.3.6.1.x86_64 cer@Telcontar:~> rpm -qa | grep -i cups libcupsimage2-2.2.7-lp151.6.6.1.x86_64 cups-pk-helper-0.2.6-lp151.2.2.x86_64 libcups2-32bit-2.2.7-lp151.6.6.1.x86_64 libgnomecups-lang-0.2.3-lp151.3.3.noarch cups-backends-1.1-lp151.2.1.noarch cups-2.2.7-lp151.6.6.1.x86_64 libcupsmime1-2.2.7-lp151.6.6.1.x86_64 cups-client-2.2.7-lp151.6.6.1.x86_64 python3-cupshelpers-1.5.7-lp151.6.3.noarch libgnomecups-1_0-1-0.2.3-lp151.3.3.x86_64 python3-pycups-1.9.74-lp151.3.3.1.x86_64 libgnomecups-1_0-1-32bit-0.2.3-lp151.3.3.x86_64 libcupsppdc1-2.2.7-lp151.6.6.1.x86_64 cups-config-2.2.7-lp151.6.6.1.x86_64 python2-pycups-1.9.74-lp151.3.3.1.x86_64 liboyranos0-cups-0.9.6-lp151.3.6.x86_64 cups-devel-2.2.7-lp151.6.6.1.x86_64 cups-filters-1.20.3-lp151.3.6.1.x86_64 libcupscgi1-2.2.7-lp151.6.6.1.x86_64 cups-pk-helper-lang-0.2.6-lp151.2.2.noarch libcups2-2.2.7-lp151.6.6.1.x86_64 cer@Telcontar:~> - -- Cheers, Carlos E. R. (from openSUSE 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCX8wBgBwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVynMAnid4pQKiofgCmjj5acPd o/l0oeJFAJ9szfA6NMNyAMI42eA74oIAed1cYg== =LjKE -----END PGP SIGNATURE-----