Bug 514525

Summary: KDE erroneously indicates a printer issue about empty waste toner box
Product: [Applications] systemsettings Reporter: Szőts Ákos <akos+kde>
Component: kcm_printer_managerAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, noeerover
Priority: NOR    
Version First Reported In: 6.5.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.6.0
Sentry Crash Report:
Attachments: Level indicators
Waste toner box appears empty

Description Szőts Ákos 2026-01-13 08:24:53 UTC
Created attachment 188472 [details]
Level indicators

SUMMARY

When a job is sent to printer, KDE indicates that there's an error with the waste toner box (for printers that support it).

Quoting from the referenced bug report below:

> Note that there are 2 types of consumables and IPP supports this fact:
> 
> - Those which come full and need to get replaced when empty, like ink or toner
> - Those which come empty and need to get replaced when full, like a waste toner box

In the latter case KDE shows an error message; but instead it should display a notification when that waste toner box gets full.

This error message, paired with the fact that printing doesn't work in some cases, can mislead users.

For more details, please see the following bug report: https://github.com/OpenPrinting/cups/issues/1462

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20251210
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.18.0-2-default (64-bit)
Graphics Platform: Wayland
Comment 1 Szőts Ákos 2026-01-13 08:25:13 UTC
Created attachment 188473 [details]
Waste toner box appears empty
Comment 2 Mike 2026-01-13 12:50:06 UTC
I think this is because the waste toner box is reporting as marker-levels so we assume it's that type.  There was a fix for a related issue (512602) in 6.5.4, Tumbleweed should be at least to that version by now, you could try to update Plasma to see if that helps the reporting nag.

Meantime, please post the contents of `/etc/cups/printers.conf`.
Comment 3 Bug Janitor Service 2026-01-13 14:07:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/print-manager/-/merge_requests/297
Comment 4 Szőts Ákos 2026-01-13 20:52:46 UTC
I suspect you're curious about the attributes from /etc/cups/printers.conf:

Attribute marker-colors \#00FFFF,#FF00FF,#FFFF00,#000000,none
Attribute marker-levels 91,91,91,87,0
Attribute marker-low-levels 3,3,3,3,0
Attribute marker-high-levels 100,100,100,100,95
Attribute marker-names Cyan TK-5490CS,Magenta TK-5490MS,Yellow TK-5490YS,Black TK-5490KS,Waste Toner Box
Attribute marker-types toner,toner,toner,toner,waste-toner
Attribute marker-change-time 1766611682

Other lines:

Info Kyocera ECOSYS PA2101cwx (KPDL)
DeviceURI ipps://KM259739.local:443/ipp/print
State Idle
StateTime 1766611706
ConfigTime 1766565988
Type 36956
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Comment 5 Mike 2026-01-13 23:06:14 UTC
I can confirm your suspicion.  ;)

Yes, thanks, we'll be able remove the nagging (ignore the checking) for 6.6 and then for 6.7 we'll add the logic to handle reporting the "waste receptacles" properly.
Comment 6 Mike 2026-01-16 17:07:15 UTC
fwiw, at least by 6.7, we should have proper level checking for waste receptacles, for 6.6, we'll just not check levels for receptacles.

https://invent.kde.org/plasma/print-manager/-/merge_requests/298
Comment 7 Mike 2026-01-19 11:20:59 UTC
Git commit b20d3f930f68049a5240272f3b4dbdfa5f1a81fe by Mike Noe.
Committed on 19/01/2026 at 11:13.
Pushed by noee into branch 'master'.

kded/marker-levels: Add support for checking (waste) receptacles

Determine if the marker type is consumable or receptacle, use
appropriate level checking for each
FIXED-IN: 6.6.0

M  +72   -33   src/kded/MarkerLevelChecker.cpp

https://invent.kde.org/plasma/print-manager/-/commit/b20d3f930f68049a5240272f3b4dbdfa5f1a81fe
Comment 8 Mike 2026-01-19 11:33:10 UTC
Git commit ffb093b3e0baca3f070944073345a0225fb1f3ed by Mike Noe.
Committed on 19/01/2026 at 11:23.
Pushed by noee into branch 'Plasma/6.6'.

kded/marker-levels: Add support for checking (waste) receptacles

Determine if the marker type is consumable or receptacle, use
appropriate level checking for each
FIXED-IN: 6.6.0


(cherry picked from commit b20d3f930f68049a5240272f3b4dbdfa5f1a81fe)

Co-authored-by: Mike Noe <noeerover@gmail.com>

M  +72   -33   src/kded/MarkerLevelChecker.cpp

https://invent.kde.org/plasma/print-manager/-/commit/ffb093b3e0baca3f070944073345a0225fb1f3ed