[cups-devel] [UNKN] STR #4625: CUPS should provide PWG5100.13 compliant "printer-supply" attributes

Stefan Brüns noreply at cups.org
Sat May 2 12:41:05 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Currently, CUPS uses the proprietary marker-colors, marker-high-levels,
marker-levels, marker-low-levels, marker-message, marker-names and
marker-types attributes for providing supply information.

Mapping
- -------
colorantrole can be assumed as "process". unit can be assumed as "percent",
maxcapacity is thus "100". markerindex can be set to "1".

marker-names: has a 1:1 relationship to printer-supply-description
marker-message: no corresponding attribute
marker-colors: each item in the list is mapped to a supply. The position (1
based) in the list is used for the supply-index and (for simplicity) the
colorant index. RGB triplets are mapped to names compliant with PWG5101.1
and used for the colorantname.
marker-types: mapped to "type=" for the corresponding supply item and used
to derive "class="
marker-levels: mapped to "level=" for the corresponding supply item

marker-high-levels and marker-low-levels can be ignored more or less. Both
seem to unused (see e.g. CUPS snmp-supplies backend does not set either),
the examples in filter-api set marker-high-levels to 100 in all cases.

Link: https://www.cups.org/str.php?L4625
Version: 2.0-current
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVRShRAAoJENujp6sI12Ij+jwP/iiqpN9w+p8HlD++oSO2oVCT
mB8r7O3vS6TuridtIyz157sYCKuvJkmNHcWG9TeJq+9+4TgiLR8f1Pi7SDV1y+FD
fXZrhQvhVngTl8gV04SIl4FioK0NRrUhh5LzMT5HtzdI6AM+c4qS5bkww3nR7bqt
JQ/X2UWraduVWBnMwDdQe/eK7V/vVIE/v5WkyaFCAZpflF43SKapdqMkzm2OFP5x
jTGzsxXU1v8RIVg72jM/sFa0UobCWbByi5MiiPdasIqGIyDFQzz6LgOsrAj/Y/+U
DMSJsaZVrSQynM/V34NK0CvolLZvF80G6LNLTe1HhiTF5qnZcHVKxwGo0ps7PdCj
kavIek6P5GLnwHWK1ukx3/xUMQzfsffUVCEL4eQcGyK3586DiOFDHE7uqgswMUhe
z8ZQaDev83cjtvh9LTvKkQavPNjiVo4sW2l0KSDsyBpzXeDyeyY5Y+nRNWa0OzWV
GBsIQNlgj7pn+fAyXP5lKJGe0HE9oZn9AaPJ2N580De42wi8PyrCb4Xh41IUB2g4
L0dGz1jVbojpHxDcRAbuHkLYxq6uqf7h7abnrg/M+Q289UWnIKFEjvsslq6zku9r
YGBVJCErUEJHGvCjpYleO5SF35nVEZPiI/T+27myayB5eB6e3Q30aHbrAMHz1nMH
hTk68eIt9pmrR6TSaT54
=4t8a
-----END PGP SIGNATURE-----




More information about the cups-devel mailing list