Re: [IPP] pwg-5100.13 section 5.6.39 printer-supply encoding

"Kennedy, Smith (Wireless & IPP Standards) via ipp" <ipp@pwg.org> Fri, 08 May 2020 01:40 UTC

Return-Path: <ipp-bounces@pwg.org>
X-Original-To: ietfarch-ipp-archive@ietfa.amsl.com
Delivered-To: ietfarch-ipp-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A5A933A0AE4 for <ietfarch-ipp-archive@ietfa.amsl.com>; Thu, 7 May 2020 18:40:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=hp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5C1o7srVbq2v for <ietfarch-ipp-archive@ietfa.amsl.com>; Thu, 7 May 2020 18:40:21 -0700 (PDT)
Received: from mail.pwg.org (mail.pwg.org [50.116.7.199]) by ietfa.amsl.com (Postfix) with ESMTP id 58B7F3A0AE2 for <ipp-archive2@ietf.org>; Thu, 7 May 2020 18:40:21 -0700 (PDT)
Received: by mail.pwg.org (Postfix, from userid 1002) id E56FA34D5; Fri, 8 May 2020 01:40:20 +0000 (UTC)
Received: from mail.pwg.org (localhost [IPv6:::1]) by mail.pwg.org (Postfix) with ESMTP id 8414828D9; Fri, 8 May 2020 01:40:16 +0000 (UTC)
X-Original-To: ipp@pwg.org
Delivered-To: ipp@pwg.org
Received: by mail.pwg.org (Postfix, from userid 1002) id 2BAC428E2; Fri, 8 May 2020 01:40:15 +0000 (UTC)
Received: from us-smtp-delivery-162.mimecast.com (us-smtp-delivery-162.mimecast.com [216.205.24.162]) by mail.pwg.org (Postfix) with ESMTPS id C85BE2618 for <ipp@pwg.org>; Fri, 8 May 2020 01:40:12 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hp.com; s=mimecast20180716; t=1588902011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Bs9IHoqnMUJM1Fnu4QlqHula1c6V21d8rhEoL38h+bY=; b=O8ZnDuF8AmlT3UZOB9v0yGT0nEUUWFCcIPg84vMXMnxVDqUQnJO1kGHdBWo9sD9o1H9h61 VdSdcL/6gtsfToMemNzQakAmUjh8jEA1R+lfi39cKtccNTdVESbRBU/AO3s9L2VeZwluzL 00PMfh+TXzpfTuxWwSg7jZM7DB64ZYE=
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2044.outbound.protection.outlook.com [104.47.66.44]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-171-S_kH6akfPTmYMdKkdtkJqA-1; Thu, 07 May 2020 21:40:08 -0400
X-MC-Unique: S_kH6akfPTmYMdKkdtkJqA-1
Received: from CS1PR8401MB0632.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7514::18) by CS1PR8401MB0933.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7513::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Fri, 8 May 2020 01:40:06 +0000
Received: from CS1PR8401MB0632.NAMPRD84.PROD.OUTLOOK.COM ([fe80::e1db:1790:ed1b:f6f3]) by CS1PR8401MB0632.NAMPRD84.PROD.OUTLOOK.COM ([fe80::e1db:1790:ed1b:f6f3%7]) with mapi id 15.20.2979.030; Fri, 8 May 2020 01:40:06 +0000
To: Michael Sweet <msweet@msweet.org>
Thread-Topic: [IPP] pwg-5100.13 section 5.6.39 printer-supply encoding
Thread-Index: AQHWJL6im8e99axFlkyDwaC8v/LEB6idRJyAgAAlGsw=
Date: Fri, 08 May 2020 01:40:06 +0000
Message-ID: <2E4B8F52-5B67-449A-9568-BA4BB57FE470@hp.com>
References: <0A928404-13DF-4D11-A68F-064210FC90A4@xerox.com>, <A1AE1F3F-36EC-4E87-A538-20218D48574D@msweet.org>
In-Reply-To: <A1AE1F3F-36EC-4E87-A538-20218D48574D@msweet.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [174.27.55.247]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ea864acf-d806-4e62-62e8-08d7f2f0bcb6
x-ms-traffictypediagnostic: CS1PR8401MB0933:
x-microsoft-antispam-prvs: <CS1PR8401MB09333984EE1A9CCA8D2CDAF19EA20@CS1PR8401MB0933.NAMPRD84.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 039735BC4E
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /e63D33hNiIki8q7DQD5kGAnk4gseah6XBRkylnJZ+dQVnNHXSpPstozYdwF5RG2rURfH9PE1DwZD2GAYvbPLCPp0uYJz2T+Si/x62Xh9ic5JD/DzEZeyXT+s0XO13gbhNeQOPhp5TEWBY39Snla8//oVB4ktYarrdKiFMsJ9vxVACntl3kbSdwQxhn4sg1vBgWc8qxYM2hxF5U2qTTbAjzlOQHVMo5axlEXJcjbsE6r1ZAWD1bJFOQd2W2TtXTFX4ErZXqaFY7vlOfSBVE+8fk6RENRJcQHRC2nVBeNqiq5fl6cqSA6RppX8enO8zuoxa2GdN1pG0tgnzLu9/uRN+z4+bfk+uc4hC6qUMqN2pUt+f4phirFz4gN7XRJFjapPlhiF5ackVwS3bI2m66OfhLdfC/iOvO1IKx9BcBzCTVBzmGu+CWRC3FSqG3jADpCmhdJmqiRJmYPMEQ+V1rPHsyI4VvdlDlaQM9AoNPoPoFWzshTKSW7Tk4e8aISqnYBfrKlO/O64723Gm3GL7urgz8rFt1CzeDYkMuB/+oUPvagr2TjloOB3E2/mKIsO9N6fxnzBbYs+/+gFS82Ot8djQGo50Zf/wSGWAQkvOO4T/k=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CS1PR8401MB0632.NAMPRD84.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(136003)(396003)(366004)(346002)(376002)(39860400002)(33430700001)(166002)(6512007)(6916009)(8676002)(36756003)(4326008)(8936002)(66446008)(66556008)(66476007)(478600001)(83320400001)(83280400001)(33440700001)(6486002)(5660300002)(966005)(83300400001)(83310400001)(83290400001)(2616005)(86362001)(71200400001)(2906002)(54906003)(64756008)(33656002)(66946007)(76116006)(91956017)(186003)(6506007)(316002)(26005)(53546011); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: NTlH2n8pc6bcEgSmiFahQL4Ex+89HdfjU7AbR7EFwugq7PPDLNvXscNda/2PaIoc8YQJwjCf85whCe7/OibK+zJgEcASz4uRsvLx6QOpruM5iJYqC1rjt7lab79/ScgylwxjYAAnJU7HLZfxI/BQdRobJpFwsUJ/GFDF6RqBLwhz8qpWtVwkcYRYV+nw+lT88Z3cFuPOw3km8bFQNrtYo0tTX0d1lt2bUq6GFVy0x0/m0oU00LCLKh7rZUb5Epx+YiFKPEWA9lO4QuOKHcwFMQOBDIcSq8tC/ufsdmPIn4u/AtyEfxC47I/MpmmEIdMnncRIfGFD6D6KOXaEz31TImPJDMcjo9qA3j/NOe6GZKtwuijyRclyJmjIjhk7lajkREVYWujHCIh9u0A9aYV/hkC3ysX/yjN1Baem9jOUbqPLtKur3rrOJMuXxcklXJsqDHv8gwbRDxDG2nFdGPSdHytuDqxlPLKY8EyeiwdAa9zhgBthzR2/KlXwa3y8VWmqYRYEcvmhicrHBwI97k/sH5oFS27cJ5U9dj/7wHUY13M6rVt6LfO7ODxwe0MjdbvdZI+eptl0afRJtYdBnZoBqNMPIA4R4hggXbiHgtV+PrXKZcBsw5+pXdJw0McHwtduUTd/z26NANGHejInE8RK7FKopzK6DquCB82wRRRI7YPTk/rOaL2Rkti2/+/eEfXk8kicgoPTCiK2xV/ic42cXooHLnW31VC94okgCDYHvqvY2Vpi5jzgevDcnYkro9Itz/onz51IDj622jhzl8fFym7epXQ5PxHviuy95obiBuc=
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: hp.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ea864acf-d806-4e62-62e8-08d7f2f0bcb6
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2020 01:40:06.6337 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ca7981a2-785a-463d-b82a-3db87dfc3ce6
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: RG9jGgqIW5PKZE9fNY9i/lth9fq2lSFqvGNcbjgQjBX5EkuqAIzqyGh7yRXx5lO0CD6b+at0rp2MCkufRr46Jw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0933
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: hp.com
Cc: PWG IPP Workgroup <ipp@pwg.org>
Subject: Re: [IPP] pwg-5100.13 section 5.6.39 printer-supply encoding
X-BeenThere: ipp@pwg.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: ISTO-PWG Internet Printing Protocol workgroup discussion forum <ipp.pwg.org>
List-Unsubscribe: <https://www.pwg.org/mailman/options/ipp>, <mailto:ipp-request@pwg.org?subject=unsubscribe>
List-Archive: <http://www.pwg.org/pipermail/ipp/>
List-Post: <mailto:ipp@pwg.org>
List-Help: <mailto:ipp-request@pwg.org?subject=help>
List-Subscribe: <https://www.pwg.org/mailman/listinfo/ipp>, <mailto:ipp-request@pwg.org?subject=subscribe>
From: "Kennedy, Smith (Wireless & IPP Standards) via ipp" <ipp@pwg.org>
Reply-To: "Kennedy, Smith (Wireless & IPP Standards)" <smith.kennedy@hp.com>
Content-Type: multipart/mixed; boundary="===============8133051475025130714=="
Errors-To: ipp-bounces@pwg.org
Sender: ipp <ipp-bounces@pwg.org>

This is now in IPP Driverless Printing Extensions v2.0 so we should briefly discuss this tomorrow in the IPP Driverless Printing Extensions v2.0 session.

Cheers,
Smith
---
Smith Kennedy
smith.kennedy@hp.com


On May 7, 2020, at 5:28 PM, Michael Sweet via ipp <ipp@pwg.org> wrote:

 Chris,

Only list the properties that are present in the MIB entries - thus the non-colorant supplies don't have the colorantxxx properties.

The colorantname only required for supplies with associated colorants, and the ABNF lists it as OPTIONAL (and so the IPP Everywhere tests don't require it...) but I do see it listed as REQUIRED in Table 9 (which is an error - the intent was for note 3 to apply to all of the colorant properties...)


> On May 7, 2020, at 6:27 PM, Rizzo, Christopher via ipp <ipp@pwg.org> wrote:
>
> Table 9 has optional printer-supply (1setOf octetString(MAX)) keywords.
>
> Some supplies have colorants, others have colorantIndex = 0 ("this supply does not depend on a single specified colorant").
>
> Must each entry in the set of octetStrings contain the same SNMP Supply Objects (matching cardinality), or can colorant objects be present in an octetString for those supplies that have a colorant, but not present in an octetString for those supplies that do not have a colorant?
>
> For example, must we do this:
>
> // Black toner.
> printer-supply[1] =
> type=toner;maxcapacity=100;level=75;index=1;markerindex=1;
> class=supplyThatIsConsumed;unit=percent;
> colorantindex=1;colorantrole=process;colorantname=black;
> coloranttonality=256;
>
> // Fuser does not have concept of colorant.
> printer-supply[2] =
> type=fuser;maxcapacity=100;level=96;index=2;markerindex=1;
> class=supplyThatIsConsumed;unit=percent;
> colorantindex=0;colorantrole=???;colorantname=???;
> coloranttonality=???;
>
> Or should we do this (is it legal to have colorant entries for some supplies, but not have colorant entries for others in the set (non-matching cardinality)?):
>
> // Black toner.
> printer-supply[1] =
> type=toner;maxcapacity=100;level=75;index=1;markerindex=1;
> class=supplyThatIsConsumed;unit=percent;
> colorantindex=1;colorantrole=process;colorantname=black;
> coloranttonality=256;
>
> // Fuser does not have concept of colorant.
> printer-supply[2] =
> type=fuser;maxcapacity=100;level=96;index=2;markerindex=1;
> class=supplyThatIsConsumed;unit=percent;colorantname=unknown;
>
>
> And since colorantname is REQUIRED, what value should it have for a supply that is not associated with any colorant (unknown or other appear to be the only available values in RFC3805)?
>
> 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@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
> _______________________________________________
> ipp mailing list
> ipp@pwg.org
> https://www.pwg.org/mailman/listinfo/ipp<https://www.pwg.org/mailman/listinfo/ipp>

________________________
Michael Sweet



_______________________________________________
ipp mailing list
ipp@pwg.org
https://www.pwg.org/mailman/listinfo/ipp<https://www.pwg.org/mailman/listinfo/ipp>
_______________________________________________
ipp mailing list
ipp@pwg.org
https://www.pwg.org/mailman/listinfo/ipp