[IPP] IPP Everywhere ipp-tests.sh printer-alert

[IPP] IPP Everywhere ipp-tests.sh printer-alert

Michael Sweet msweet at msweet.org
Sun Mar 22 17:01:22 UTC 2020


Chris,

Generally you omit an attribute when it has no values, but for "printer-alert" I have also seen "code=other" being returned when there are no issues to report.  The Printer MIB is similarly silent on the best practice here, so I think we should probably clarify this in an errata update.

Please bring this up on the IPP mailing list so we can discuss it at the next concall.  


> On Mar 21, 2020, at 11:37 PM, Rizzo, Christopher <Christopher.Rizzo at xerox.com> wrote:
> 
> Mike,
>  
> I get a failure for printer-alert when running ipp-tests.sh because there are no alerts present in the printer and IPP printer-alert attribute is blank.  Is it not supposed to be blank?  I can't find in specs an explicit statement of what the value of printer-alert should be when there are no alerts present.
>  
> Thanks,
> Chris
>  
> Christopher Rizzo
> Xerox Corporation
> GDG/Discovery/Advance Technology
> 26600 SW Parkway Ave.
> Wilsonville, OR 97070-9251
> Phone: (585) 314-6936
> Email: Christopher.Rizzo at xerox.com
>  
> "The realization came over me with full force that a good part of the remainder of my life was going to be spent in finding errors in my own programs."
> -Maurice Wilkes, Memoirs of a Computer Pioneer

________________________
Michael Sweet





More information about the ipp mailing list