In the API getPrinterAttributes(printerUri, types: Iterable<AttributeType<*>>), types doesn't accept names of attribute groups such as job-description, job-template, and all. You can still add them later with putAttributes(Tag.operationAttributes, Types.requestedAttributes.of(...) but this API doesn't provide a clean way to implement this common action.
In the API
getPrinterAttributes(printerUri, types: Iterable<AttributeType<*>>)
, types doesn't accept names of attribute groups such asjob-description
,job-template
, andall
. You can still add them later withputAttributes(Tag.operationAttributes, Types.requestedAttributes.of(...)
but this API doesn't provide a clean way to implement this common action.