RFR: 8314070: javax.print: Support IPP output-bin attribute extension [v9]

Alexander Scherbatiy alexsch at openjdk.org
Wed May 29 20:24:06 UTC 2024


On Wed, 29 May 2024 20:14:06 GMT, Alexander Scherbatiy <alexsch at openjdk.org> wrote:

>> What about this support?
>
> Actually it is not clear for me which maximum N should be used for these constants.
> Should only `tray-1`, `tray-2`, and `tray-3` be added, or should there be constants `tray-1` ... `tray-5` or even more?

I updated the `PrintService.isAttributeValueSupported()` method that it always returns true for CustomOutputBin class and returns true for an OutputBin constant only if its original name (ipp case) or the name without `-` sign (cups case) equals to one of the supported output bin choice name.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16166#discussion_r1619428792


More information about the client-libs-dev mailing list