IPP Mail Archive: IPP> MOD> printer-state-reasons

IPP Mail Archive: IPP> MOD> printer-state-reasons

IPP> MOD> printer-state-reasons

kugler@us.ibm.com
Thu, 16 Sep 1999 14:00:13 -0600

MOD says:

Each keyword value MAY have a suffix to indicate its level of severity. The
three levels are: report (least severe), warning, and error (most severe).

...

- '-error': This suffix indicates that the reason is an "error". An
implementation MUST include all errors. If this attribute contains one
or more errors, printer MUST be in the stopped state.

If the implementation does not add any one of the three suffixes, all parties
MUST assume that the reason is an "error".

Does this mean to say that the REQUIRED "printer-state-reasons" attribute value
must always have a -report or -warning suffix unless the printer is in the
'stopped' state? For example, if the printer is idle, MUST I have
"printer-state" = 'idle' and "printer-state-reasons" = 'none-report'? (Can't
have "printer-state-reasons" = 'none' since that would be semantically
equivalent to "printer-state-reasons" = 'none-error' which implies that the
printer MUST be in the stopped state, not the idle state.)

- Carl