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

"Rizzo, Christopher via ipp" <ipp@pwg.org> Thu, 07 May 2020 22:27 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 A1E083A0E1A for <ietfarch-ipp-archive@ietfa.amsl.com>; Thu, 7 May 2020 15:27:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.898
X-Spam-Level:
X-Spam-Status: No, score=-2.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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
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 PDakxpWyPs8R for <ietfarch-ipp-archive@ietfa.amsl.com>; Thu, 7 May 2020 15:27:13 -0700 (PDT)
Received: from mail.pwg.org (mail.pwg.org [50.116.7.199]) by ietfa.amsl.com (Postfix) with ESMTP id 7239B3A0E15 for <ipp-archive2@ietf.org>; Thu, 7 May 2020 15:27:13 -0700 (PDT)
Received: by mail.pwg.org (Postfix, from userid 1002) id C836436E2; Thu, 7 May 2020 22:27:12 +0000 (UTC)
Received: from mail.pwg.org (localhost [IPv6:::1]) by mail.pwg.org (Postfix) with ESMTP id 3B8851E49; Thu, 7 May 2020 22:27:09 +0000 (UTC)
X-Original-To: ipp@pwg.org
Delivered-To: ipp@pwg.org
Received: by mail.pwg.org (Postfix, from userid 1002) id E814F26F0; Thu, 7 May 2020 22:27:07 +0000 (UTC)
Received: from esa10.xerox.iphmx.com (esa10.xerox.iphmx.com [68.232.129.32]) by mail.pwg.org (Postfix) with ESMTPS id 069D95EF for <ipp@pwg.org>; Thu, 7 May 2020 22:27:06 +0000 (UTC)
IronPort-SDR: s34o6oz9Wxw87feD8c2sJZJ6n8CWOgMu+3P8hurJndf1Rp4DyYlad6O4eVIr3b5yonAn6yvQa/ XBj8TCR1kD9Sj19k4jS9LDTEaghQJG1iXF1NkQ183pw95viVOkLyh7WQdGBiJJm38o+CmM0l+G kyajlPj4H1ApifY5Oawvja2wLflTrzLFBAIYZfqPUfhP1MCpbKYA/sslKzXGJMpILqMXcl767x uOTFIPYKZheBuibsT+o+XKd0fb3L7r/WpVw5gXybmKNdfsX/LgdcUwv/f4r8JAOgxnV3aT0Kq7 edY=
Received: from mail-dm6nam12lp2173.outbound.protection.outlook.com (HELO NAM12-DM6-obe.outbound.protection.outlook.com) ([104.47.59.173]) by ob1.xerox.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 17:27:06 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cRkInOB2s6EeJptCBifI4VojYB/SnjHF3O+LkxdHP+BQIZ6aqBkXKd36bDykFsacp9c4668xd8kwaR9gQqy/EwoSycwEpBd/QWSlokEAZ7UrNoDqk7kgrKlmJrK2tbijrVZ9DE5cMXYa2UVZybXlsF5pngW4rjC8bRYYPOzu0SZChytlJj9LogsRdX2CvfzqYsvBaLG6eWzidrqpm83gBdym2CebJC8pHh9A3JeJr3ElIDhGirvj7b2JiQ0fbdkb2OH/SFhVi/GJUIqmRwnVrwtEbgwFBE2znguiqX6vNFD7AGalCAfQFxP95KHjHPvCl+nfrPBiSG1oGBD1LMc0JQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bPMzTKI4YxsChdwoW68lvl5Y3KJsahXgfG0+2hYw8Do=; b=VtHfze5DlfNURSjFyxFdWHBTAx98jt+ipLA3PreDxatf+DJfVVvu21wvWEyfa5X2Z8LvwmVjNXixjAj0q8mL7nGr4aCtsbBAeOYES14+EBJHelkWJA7PNN+VhyQxXu0LJk9Xy+gaVAeeqQTE3mUqpkDy9r3f2NZ177wVeomLeh5OOCyFCUxSoLXFVc08JfuYBhbSMGH8aVowQ+3P3NFa5wdcwTKnNaNhzfwRHbQA6Wn7FvAkh6ynbYuNYKn2I3TW+SnlUVEpZZR8D9HKUBR/7Lm0rcUb7Zg/y3PDcEr2YnIEna++3XSAnoyBAOv0Ui75rs1TqzcndihiqBd/2OQqTw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xerox.com; dmarc=pass action=none header.from=xerox.com; dkim=pass header.d=xerox.com; arc=none
Received: from MWHPR11MB1952.namprd11.prod.outlook.com (2603:10b6:300:111::11) by MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27; Thu, 7 May 2020 22:27:04 +0000
Received: from MWHPR11MB1952.namprd11.prod.outlook.com ([fe80::b959:b216:62a1:f864]) by MWHPR11MB1952.namprd11.prod.outlook.com ([fe80::b959:b216:62a1:f864%7]) with mapi id 15.20.2979.028; Thu, 7 May 2020 22:27:04 +0000
To: PWG Workgroup <ipp@pwg.org>
Thread-Topic: pwg-5100.13 section 5.6.39 printer-supply encoding
Thread-Index: AQHWJL6im8e99axFlkyDwaC8v/LEBw==
Date: Thu, 7 May 2020 22:27:04 +0000
Message-ID: <0A928404-13DF-4D11-A68F-064210FC90A4@xerox.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.36.20041300
authentication-results: pwg.org; dkim=none (message not signed) header.d=none;pwg.org; dmarc=none action=none header.from=xerox.com;
x-originating-ip: [50.38.48.228]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 77bdd96e-7cef-4708-f1ae-08d7f2d5c501
x-ms-traffictypediagnostic: MWHPR11MB1631:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MWHPR11MB163145001713189996521A9DE0A50@MWHPR11MB1631.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 03965EFC76
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: lVK+WieH3lGTQj1g9x6CEn9oJV4dcfimaEy2SB6bpTjQTARgDi5DN6S73ysh1A2rsXLW8kdg+n4p24OrC89ALnOLnd3ZNHo0dM9WxK8MkAlvlzoFKB8fuis15Pmv+bHGDbSvZJjQpi2u1dkOrKAYZfEqKShs3I0sNJYj94au+PuW9g0AkIDTjbsDNaaSD8k/Q8KbusmTRwJ+8MgnYy6O60C6SKwG4/3q29Ex9EhP0II3kj1bceOKart5WuC5P5/Rc2XTzSlpSR2to+7okj9bKyaI0IPZDvN5vkHbu9H73LM1ZB0mI7N96SxXJTlZNx55tp8cqekIOoKvYeUaMF/ZOz9jzUz7foKzBZqIPNrwZwbXy4aq9LviM7cwXKxf9ArY4T4H9jW+F411pRPXsqC0agYGvQf+2IXzUPskTSlqX1FCVZz+epKEShWMwaFrEPqxFiBn4mEzHyyGvpAT3R4aZXp1rsQAdo6u/jAjNeKXaL9MS0HVAKQxBm7Ab/qWAam03J+WN4eD1ePf3P1oBb/PKQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1952.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(376002)(39860400002)(346002)(366004)(136003)(396003)(33430700001)(6506007)(91956017)(6916009)(2616005)(6486002)(83300400001)(33440700001)(316002)(83320400001)(83280400001)(83310400001)(83290400001)(76116006)(5660300002)(8936002)(2906002)(26005)(86362001)(66476007)(66446008)(186003)(33656002)(64756008)(71200400001)(66946007)(478600001)(36756003)(8676002)(66556008)(6512007); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: KuyYbiUbSESiJFwsfmnmTF8R15o8rMMjjs8TtM+VEh1YCHU9c+GzUvGJSwSiE3nGk1V4pGCOzRt2eSmyu+NxRLQqV8d+gMtIu4vYe7sE12op79KR6RjA5qKQD/WWiXHztk2tFBzseVCK11fsEp+P18BlM8j08g5lvyY2DgcweTL/KvVti6KZX31jAF0XX7ijGA89SCZPXweiPCUssSH5VHGxDPshGG26UJ0F3rJxKZquLpBdmmdxrUDRAqSQMCfvJxNWRBqubORAdAP1uzbuZM5xTtQhhWQqL/KVG7klWTV7KjfEzy/r4ZBcV6+DmwmQy/F/6NKIJGINcA05SSyeMDrDAptbypSIcU/doznFOcjFKsbeusZaFLeUKmMOexpuPwgYwYuRtMCoZTehT65f6MuAjh8UYCYcRSsw98npAhePvi2Rus+yu9lNhuFS0IrW12F1COmaphcoByJpMycKij4ckwdP6xft8Rw68F7pf5KNyuJyfH2RMgNbVrEv+A6+hk9+mx5eMCQIUplmulAAYLTqP+GzjwWbOIdnrID9bLH6i2KPNKnSbNUqazf6GRsULmA3mPXzozBe4JtTwp+7F2aJxAL/7qhnjzEUZP/+14VxxAWbpsEdMULfOaB4aHDN5CmQJ5sY0xGnXckLSjjn4GjW/LsEqRFvKhNwnFL53OHDWALO1+TqqMk6Hh1ZbFk84uePLSZXOsP0SKD1EvkiJbIk4ia+Ggmgt2AtALYvodd9sDPg8tXfB/7Cimt7MbTZUuqvgSnmdWgMyLpCI51KRHj21O5jrBqE/O4aqrH6Sao=
MIME-Version: 1.0
X-OriginatorOrg: xerox.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 77bdd96e-7cef-4708-f1ae-08d7f2d5c501
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 May 2020 22:27:04.2199 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9c2a31bd-e798-488d-986b-90156ac8f29b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 3qWslidxNwrTLoa/MM8u+KSoSyd10tOnUM+UwXdDxedKYM2OxMCW2hqDYOYB83a5rOOPBGfXEMI57tMm6DMICLBW8lQ6MzT4DQlL8MHY+lY=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1631
Subject: [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: "Rizzo, Christopher via ipp" <ipp@pwg.org>
Reply-To: "Rizzo, Christopher" <Christopher.Rizzo@xerox.com>
Content-Type: multipart/mixed; boundary="===============6274323837042960462=="
Errors-To: ipp-bounces@pwg.org
Sender: "ipp" <ipp-bounces@pwg.org>

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