Closed HPSudip closed 2 years ago
Keep an eye on this email thread on the ipp@pwg.org email reflector: https://www.pwg.org/pipermail/ipp/2022/021192.html
media-col-ready/media-size/y-dimension will have a syntax of integer(0:MAX)|rangeOfInteger(1:MAX) so that the printer can provide 0 (zero or nil) to indicate a roll length that is unknown or unbounded. That likely will also apply to media-col-database/media-size/y-dimension as well.
Working latest XML file Internet Printing Protocol (IPP) Registrations.zip
Issues addressed in pull #128 Changes in genTypes.py:
Rest changes in model files are due to execution of genTypes.py that reflects the latest IIP registrations.xml
As per latest IANA spec https://www.iana.org/assignments/ipp-registrations/ipp-registrations.xhtml, MediaColDatabase and MediaColReady has different attribute types for MediaSize member attribute.
The requirement is such that, we should not allow rangeOfInteger in the job template attribute
media-col
, but only allows rangeOfInteger in the Printer Description attributesmedia-col-database
andmedia-col-ready
.Currently genTypes.py is unable to create a separate class for MediaColDatabase and instead it tries to put everything back to MediaCol with a warning on new member.
WARN: Collection type already has different member media-size