I can then specify landscape (4) as a job attribute in a completely custom request, but encoding this request fails:
tag for attribte orientation-requested does not match with value type
This PR allows go-ipp to encode enumerations, clearing the blocker for my use case. It adds a test case for encoding/decoding enumerations. It also fixes the typo in the error message above.
I need to specify the job attribute landscape mode printing. I can define the relevant attribute:
I can then specify landscape (4) as a job attribute in a completely custom request, but encoding this request fails:
This PR allows
go-ipp
to encode enumerations, clearing the blocker for my use case. It adds a test case for encoding/decoding enumerations. It also fixes the typo in the error message above.