attachment

<div dir="ltr"><div>Hi Smith,<br><br><br></div><div>This is NOT a choice.  If you want the localized description, then<br></div><div>it MUST be in a separate IPP attribute (like existing mappings<br></div><div>for Alert, Input, Output, etc. from Printer/Finisher MIB).<br><br></div><div>This is not just a style issue.  This is a strict IPP requirement that<br></div><div>a given attribute is either completely a localized IPP datatype (text) <br>or is not localized (octetString).<br><br></div><div>Prior art in MIB to IPP mapping had a good reason.<br><br></div><div>Cheers,<br></div><div>- Ira<br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Ira McDonald (Musician / Software Architect)<br>Co-Chair - TCG Trusted Mobility Solutions WG<br>Chair - Linux Foundation Open Printing WG<br>Secretary - IEEE-ISTO Printer Working Group<br>Co-Chair - IEEE-ISTO PWG Internet Printing Protocol WG<br>IETF Designated Expert - IPP & Printer MIB<br>Blue Roof Music / High North Inc<br><a style="color:rgb(51,51,255)" href="http://sites.google.com/site/blueroofmusic" target="_blank">http://sites.google.com/site/blueroofmusic</a><br><a style="color:rgb(102,0,204)" href="http://sites.google.com/site/highnorthinc" target="_blank">http://sites.google.com/site/highnorthinc</a><br>mailto: <a href="mailto:blueroofmusic@gmail.com" target="_blank">blueroofmusic@gmail.com</a><br>Jan-April: 579 Park Place  Saline, MI  48176  734-944-0094<br>May-Dec: PO Box 221  Grand Marais, MI 49839  906-494-2434<br><br><div style="display:inline"></div><div style="display:inline"></div><div style="display:inline"></div><div></div><div></div><div></div><div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Oct 17, 2016 at 3:56 PM, Kennedy, Smith (Wireless Architect) <span dir="ltr"><<a href="mailto:smith.kennedy@hp.com" target="_blank">smith.kennedy@hp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
<br>
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>
<br>
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>
<br>
So, how to support "finSupplyDescription"? There are 3 different ways I can imagine:<br>
<br>
1. Keep the mapping of "finSupplyDescription" in "printer-finisher-supplies", and embed a localized string within the value of "printer-finisher-supplies"?<br>
<br>
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>
<br>
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>description" attribute that is syntactically nearly identical to "printer-finisher-description"<wbr>.<br>
<br>
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>
<br>
Thoughts?<br>
<br>
Smith<br>
<br>
/**<br>
    Smith Kennedy<br>
    Wireless Architect - Client Software - IPG-PPS<br>
    Standards - IEEE ISTO PWG / Bluetooth SIG / Wi-Fi Alliance / NFC Forum / USB IF<br>
    Chair, IEEE ISTO Printer Working Group<br>
    HP Inc.<br>
*/<br>
<br>
<br>
<br>
<br>______________________________<wbr>_________________<br>
ipp mailing list<br>
<a href="mailto:ipp@pwg.org">ipp@pwg.org</a><br>
<a href="https://www.pwg.org/mailman/listinfo/ipp" rel="noreferrer" target="_blank">https://www.pwg.org/mailman/<wbr>listinfo/ipp</a><br>
<br></blockquote></div><br></div>