Closed HPRoss closed 3 years ago
For a workaround, see https://github.com/HPInc/jipp/tree/issue112 particularly the following files:
AttributeCollectionConverterBase.kt
jipp-core/src/test/java/com/hp/jipp/encoding/CustomJobResolversSupported.java
Notes:
AttributeCollection.Converter
uses a Kotlin feature (default interface methods) that is hard to bridge over to Java. My fix above is to include a single Kotlin file to make them accessible to Java.JobResolversSupported
but JobConstraintsSupported
would be similar.job-resolvers-supported.media-col.media-top-margin
NOT job-resolvers-supported.media-top-margin
.Overall: this is a hack, and needs to be better supported in the type itself. So this issue should remain open until a real fix is in place.
I have an interest in having the attributes returned for two ipp responses if they are available from a printer.
job-resolvers-supported and job-constraints-supported per PWG 5100.7-2019 https://ftp.pwg.org/pub/pwg/candidates/cs-ippjobext20-20190816-5100.7.pdf
Acceptance Criteria