- Status Closed
- Percent Complete
- Task Type Feature Request
- Category Common Code
-
Assigned To
pizza - Operating System All
- Severity Low
- Priority Low
- Reported Version 1.0
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Gutenprint / CUPS Dye-sublimation drivers
Opened by pizza - 2014-04-28
Last edited by pizza - 2016-08-21
Opened by pizza - 2014-04-28
Last edited by pizza - 2016-08-21
FS#523 - Proper media/ribbon status messages
CUPS has a standard reporting mechanism for attributes, including media/ribbon/etc levels. The general syntax is:
ATTR: foo=bar[,baz,etc]
There's also the notion of state that can be reported in a unified manner:
STATE: +media-empty [reasontext]
STATE: -media-empty
So:
1) Altering backends to report media empty using this mechanism
2) Alter backends to report remaining media, if known, using this mechanism.
For further details:
https://www.cups.org/documentation.php/doc-1.7/api-filter.html#ATTR_STRINGS
Closed by pizza
2016-08-21 14:55
Reason for closing: Implemented
Additional comments about closing: I'm considering this done.
2016-08-21 14:55
Reason for closing: Implemented
Additional comments about closing: I'm considering this done.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
The core work is in, and most backends now report the remaining media as a (occasionally guessimated) percentage.
Error reporting and other state management is still not being done with this mechanism though. That'll come later.
All backends (except for kodak1400 and shinkos1245) now report some sort of marker status. Either:
* accurate (!) percentage
* "unknown but ok" vs "0"
kodak1400 will probably never become intelligent enough for this (we simply don't have sufficient info about loaded media or any sort of counters), but shinkos1245 should be able to infer what we need once I come up with a reliable way to guess at the loaded media type.