attachment
<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks Ira! <div class=""><br class=""></div><div class="">I'll also add that to my list of stuff to be covered in the "PWG & IPP Design Principles and Ethos" whitepaper (whenever we get to that...).<div class=""><br class=""><div class="">
Smith<br class=""><br class=""><br class="">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Oct 17, 2016, at 4:05 PM, Ira McDonald <<a href="mailto:blueroofmusic@gmail.com" class="">blueroofmusic@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class=""><div class="">Hi Smith,<br class=""><br class=""><br class=""></div><div class="">This is NOT a choice. If you want the localized description, then<br class=""></div><div class="">it MUST be in a separate IPP attribute (like existing mappings<br class=""></div><div class="">for Alert, Input, Output, etc. from Printer/Finisher MIB).<br class=""><br class=""></div><div class="">This is not just a style issue. This is a strict IPP requirement that<br class=""></div><div class="">a given attribute is either completely a localized IPP datatype (text) <br class="">or is not localized (octetString).<br class=""><br class=""></div><div class="">Prior art in MIB to IPP mapping had a good reason.<br class=""><br class=""></div><div class="">Cheers,<br class=""></div><div class="">- Ira<br class=""><br class=""></div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Ira McDonald (Musician / Software Architect)<br class="">Co-Chair - TCG Trusted Mobility Solutions WG<br class="">Chair - Linux Foundation Open Printing WG<br class="">Secretary - IEEE-ISTO Printer Working Group<br class="">Co-Chair - IEEE-ISTO PWG Internet Printing Protocol WG<br class="">IETF Designated Expert - IPP & Printer MIB<br class="">Blue Roof Music / High North Inc<br class=""><a style="color:rgb(51,51,255)" href="http://sites.google.com/site/blueroofmusic" target="_blank" class="">http://sites.google.com/site/blueroofmusic</a><br class=""><a style="color:rgb(102,0,204)" href="http://sites.google.com/site/highnorthinc" target="_blank" class="">http://sites.google.com/site/highnorthinc</a><br class="">mailto: <a href="mailto:blueroofmusic@gmail.com" target="_blank" class="">blueroofmusic@gmail.com</a><br class="">Jan-April: 579 Park Place Saline, MI 48176 734-944-0094<br class="">May-Dec: PO Box 221 Grand Marais, MI 49839 906-494-2434<br class=""><br class=""><div style="display:inline" class=""></div><div style="display:inline" class=""></div><div style="display:inline" class=""></div><div class=""></div><div class=""></div><div class=""></div><div class=""></div></div></div></div></div></div>
<br class=""><div class="gmail_quote">On Mon, Oct 17, 2016 at 3:56 PM, Kennedy, Smith (Wireless Architect) <span dir="ltr" class=""><<a href="mailto:smith.kennedy@hp.com" target="_blank" class="">smith.kennedy@hp.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br class="">
<br class="">
As you may have noticed in the most recent draft of Finishing 2.1, Ira and I added a new "printer-finisher-supplies" attribute to convey information about finisher supplies, which was absent before. It is structurally similar to "printer-finisher" but contains mappings from "finSupplyTable" / "finSupplyEntry" rather than "finDeviceTable" / "finDeviceEntry".<br class="">
<br class="">
But one of the fields that we added in that first draft was a field for "finSupplyDescription". This is inconsistent with how we support "finDeviceDescription" in 5100.1 - that OID from RFC 3806 is conveyed in IPP via a separate IPP attribute "printer-finisher-description 1setOf text(MAX))". The difference seems to be that the key/value pairs in "printer-finisher" are non-localized, whereas "finDeviceDescription" is a localized string, so "printer-finisher-description" contains localized strings. But this strikes me as odd - we have "printer-strings-supported" now, which could contain localized strings that don't have to be conveyed via IPP attribute values directly.<br class="">
<br class="">
So, how to support "finSupplyDescription"? There are 3 different ways I can imagine:<br class="">
<br class="">
1. Keep the mapping of "finSupplyDescription" in "printer-finisher-supplies", and embed a localized string within the value of "printer-finisher-supplies"?<br class="">
<br class="">
2. Keep the mapping of "finSupplyDescription" in "printer-finisher-supplies", but have the value be a key into a string in the string catalog pointed to by "printer-strings-uri"?<br class="">
<br class="">
3. Remove the mapping of "finSupplyDescription" from "printer-finisher-supplies" and instead be consistent with "printer-finisher" / "printer-finisher-description" by creating a new "printer-finisher-supplies-<wbr class="">description" attribute that is syntactically nearly identical to "printer-finisher-description"<wbr class="">.<br class="">
<br class="">
In this next draft I will do #3 because I can copy / paste quite easily. But I'm not confident that is the right choice.<br class="">
<br class="">
Thoughts?<br class="">
<br class="">
Smith<br class="">
<br class="">
/**<br class="">
Smith Kennedy<br class="">
Wireless Architect - Client Software - IPG-PPS<br class="">
Standards - IEEE ISTO PWG / Bluetooth SIG / Wi-Fi Alliance / NFC Forum / USB IF<br class="">
Chair, IEEE ISTO Printer Working Group<br class="">
HP Inc.<br class="">
*/<br class="">
<br class="">
<br class="">
<br class="">
<br class="">______________________________<wbr class="">_________________<br class="">
ipp mailing list<br class="">
<a href="mailto:ipp@pwg.org" class="">ipp@pwg.org</a><br class="">
<a href="https://www.pwg.org/mailman/listinfo/ipp" rel="noreferrer" target="_blank" class="">https://www.pwg.org/mailman/<wbr class="">listinfo/ipp</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></body></html>