I could occasionally print something also with my local device.
Unfortunately, I observed that another print test for a small text file with a program like KWrite 25.04.1 does not work as expected at the moment.
Markus_Elfring@Sonne:~> lsusb
…
Bus 001 Device 005: ID 0482:063e Kyocera Corp. Kyocera ECOSYS P6021cdn
…
I took also another look into the “Connection Wizard” of the system configuration module “YaST2 printer”.
I wonder why no connection settings are displayed for the USB port there.
The driver “ECOSYS P6021cdn KPDL” was accordingly configured so far.
The test page printout succeeded once more.
It seems that the file “/var/log/cups/error_log” does not directly indicate clues for undesirable software behaviour today.
The OP claimed that a test print did succeed. What might be useful is to see the print queue as currently defined…
lpstat -t
and verbose output from lsusb -v
(Specifically the output block pertaining to the printer device)
The OP should also know that this printer is supported by IPP apparently (no driver required)…
For a USB connected printer, ipp-usb needs to be installed first, then the printer will appear as a localhost connected device. CUPS should automatically find it.
Markus_Elfring@Sonne:~> rpm -qi ipp-usb
…
Source RPM : ipp-usb-0.9.30-1.1.src.rpm
Build Date : Mo 17 Mär 2025 23:22:14 CET
…
It seems that some configuration challenges need still to be resolved for the desired printer detection.
I would appreciate further hints for the selection of corresponding IPP-USB settings.
Sonne:~ # systemctl restart ipp-usb && ipp-usb status && systemctl status ipp-usb
Get "http://localhost/status": ipp-usb daemon not running
…
Loaded: loaded (/usr/lib/systemd/system/ipp-usb.service; enabled; preset: disabled)
Active: active (running) since Tue 2025-05-27 18:10:29 CEST; 37ms ago
…
CPU: 20ms
…
May 27 18:10:29 Sonne systemd[1]: Started Daemon for IPP over USB printer support.
May 27 18:10:29 Sonne systemd[1]: ipp-usb.service: Deactivated successfully.
How will the clarification evolve further for such software components?
The printer doesn’t advertise itself as capable of IPP support, despite it being listed online as supporting IPP. It might just be that it needs to be network connected. Have you considered connecting it to your LAN instead?
You could try creating a custom rule to handle the protocol it advertises eg “/etc/udev/rules.d/50-kyocera.rules” with
Forget trying to use that then (at least while you are using the printer via USB). Remove the custom rule. Return to your opening post and answer my questions about that.
Can further refinements become helpful for device rule properties?
Is there a need to reconsider the filter for a field like bInterfaceProtocol any more?
I have noticed a moment ago that the file “/var/log/cups/error_log” contains information (like the following) for a few print attempts.
…
D [28/May/2025:08:21:41 +0200] [Job 142] Printing on printer with URI: usb://Kyocera/ECOSYS%20P6021cdn?serial=LW44818568
D [28/May/2025:08:21:41 +0200] [Job 142] File \"/usr/lib/cups/filter/kyofilter_pre_H\", line 12, in <module>
D [28/May/2025:08:21:41 +0200] [Job 142] from PyPDF3 import PdfFileWriter, PdfFileReader
D [28/May/2025:08:21:41 +0200] [Job 142] ModuleNotFoundError: No module named \'PyPDF3\'
D [28/May/2025:08:21:41 +0200] [Job 142] libusb_get_device_list=8
D [28/May/2025:08:21:41 +0200] [Job 142] STATE: +connecting-to-device
…