Okular won't print, LibreOffice Writer can

Configured Brother MFC9340CDW with both (alternately) CUPS and Yast after installing Brother’s printer driver (which shows up in driver list). Can print a LibreOffice document in Writer and from an app in DOSEMU. Documents opened in Okular and a drawing in LibreOffice Draw don’t print and documents don’t appear in print queue. Deleted and re-installed Okular with no change–it doesn’t print. Have deleted and added the print queue. Ping confirmed reachability of the printer. What am I missing?
Thanks.

Have you checked the log files in “/var/log/cups”? particularly “error_log”, there may be some clues there.

It may possibly be the particular file you’re trying to print, have you tried other files?

Could be you didn’t notice it is print to file or print to pdf.
Take a look at it in the print dialog.

Confirmed that printing was to one of two queues (for the same printer), not to PDF or File. After the last print attempt, the tail of the CUPS error log was

W [02/Nov/2021:23:36:59 -0400] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [02/Nov/2021:23:36:59 -0400] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [02/Nov/2021:23:36:59 -0400] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [02/Nov/2021:23:36:59 -0400] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [02/Nov/2021:23:36:59 -0400] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [02/Nov/2021:23:36:59 -0400] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [02/Nov/2021:23:36:59 -0400] Unable to open listen socket for address [v1.::1]:631 - Cannot assign requested address.
W [03/Nov/2021:08:59:22 -0400] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [03/Nov/2021:08:59:22 -0400] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [03/Nov/2021:08:59:22 -0400] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [03/Nov/2021:08:59:22 -0400] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [03/Nov/2021:08:59:22 -0400] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [03/Nov/2021:08:59:22 -0400] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [03/Nov/2021:08:59:22 -0400] Unable to open listen socket for address [v1.::1]:631 - Cannot assign requested address.

Tried another PDF file, which also failed to print.

Have you disabled IPv6?

It looks like cupsd is failing to open port 631 in the IPv6 loopback address (::1)

Can you show the output of:

sudo cat /etc/cups/cupsd.conf

Probably best to post that to https://paste.opensuse.org/

Getting ahead of your reply here :slight_smile:

In “/etc/cups/cupsd.conf” (near the top of the file) change these two lines:

“LogLevel warn” to “LogLevel debug”

and

“Listen localhost:631” to “Listen 0.0.0.0:631”

then save the file.

Restart CUPS

sudo service cups restart

Delete the existing error log “/var/log/cups/error_log”

Print one document from okular. (Behavior at this point will be unchanged, ie no print, but it should have removed the error message “Unable to open listen socket for address [v1.::1]:631 - Cannot assign requested address.”)

Now post the entire “/var/log/cups/error_log” to https://paste.opensuse.org/ and post the link here.