Re: [IPP] IPP Registration Request for Addition: New keywords for the "media" attribute

"Kennedy, Smith (Wireless & IPP Standards) via ipp" <ipp@pwg.org> Wed, 10 March 2021 02:25 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 81FD53A16CF for <ietfarch-ipp-archive@ietfa.amsl.com>; Tue, 9 Mar 2021 18:25:40 -0800 (PST)
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 VkNLydptjXd1 for <ietfarch-ipp-archive@ietfa.amsl.com>; Tue, 9 Mar 2021 18:25:36 -0800 (PST)
Received: from mail.pwg.org (mail.pwg.org [50.116.7.199]) by ietfa.amsl.com (Postfix) with ESMTP id EE3643A16CC for <ipp-archive2@ietf.org>; Tue, 9 Mar 2021 18:25:35 -0800 (PST)
Received: by mail.pwg.org (Postfix, from userid 1002) id 09807F4A3; Wed, 10 Mar 2021 02:25:35 +0000 (UTC)
Received: from mail.pwg.org (localhost [IPv6:::1]) by mail.pwg.org (Postfix) with ESMTP id BC6DAE107; Wed, 10 Mar 2021 02:25:31 +0000 (UTC)
X-Original-To: ipp@pwg.org
Delivered-To: ipp@pwg.org
Received: by mail.pwg.org (Postfix, from userid 1002) id 4F66E36C; Wed, 10 Mar 2021 02:25:30 +0000 (UTC)
Received: from us-smtp-delivery-162.mimecast.com (us-smtp-delivery-162.mimecast.com [63.128.21.162]) by mail.pwg.org (Postfix) with ESMTPS id AB49C36C for <ipp@pwg.org>; Wed, 10 Mar 2021 02:25:27 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hp.com; s=mimecast20180716; t=1615343126; 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=e2Pa/2jHjeLUjdT3LhpqkW8aslNE8Aek5YSvnbLee8w=; b=XIrOO5lfmSnObuCN8YtY6B7RhhdOO74y7PQBvJ6N9qw4Sth0IKhdXZ8GeOyDgYDUUm1TCT 4q2vxfuhaYEJTmPyOpqPJRTsazcA813kfvsd46wGZp7FMO7JgGG3Fec+7gURkYH5y5BYVi sOJyPZ2jb5Syp29Ql2tioujaQPPyXfk=
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2103.outbound.protection.outlook.com [104.47.58.103]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-468-xyD2Im7TMrCxWKYTY632Bw-1; Tue, 09 Mar 2021 21:25:24 -0500
X-MC-Unique: xyD2Im7TMrCxWKYTY632Bw-1
Received: from CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7512::12) by CS1PR8401MB1048.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:750d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.24; Wed, 10 Mar 2021 02:25:20 +0000
Received: from CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM ([fe80::3826:d16f:171f:ba49]) by CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM ([fe80::3826:d16f:171f:ba49%2]) with mapi id 15.20.3912.028; Wed, 10 Mar 2021 02:25:20 +0000
To: Michael Sweet <msweet@msweet.org>
Thread-Topic: [IPP] IPP Registration Request for Addition: New keywords for the "media" attribute
Thread-Index: AdcPiU5f9pH1jNrHRSOMIKenVKixvwAFyLgAACuF7EAABxJ3AAACwLUgAAMU/AABNJzEAA==
Date: Wed, 10 Mar 2021 02:25:19 +0000
Message-ID: <F92A5194-0A3F-4DB3-ADE7-E10C6C4BDAAC@hp.com>
References: <CS1PR8401MB0518CB6CDAFD39B2A6C751FE9E999@CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM> <427EB790-2E49-4138-9623-FE62066CB7F5@msweet.org> <CS1PR8401MB0518EB189D8D586DFD43BF6A9E989@CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM> <1D6881FA-25CE-448F-9133-6E1121E035A3@msweet.org> <CS1PR8401MB051864102AA2F22A74128DF99E989@CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM> <66391665-903F-4926-BCA6-15B862D80759@msweet.org>
In-Reply-To: <66391665-903F-4926-BCA6-15B862D80759@msweet.org>
Accept-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3654.60.0.2.21)
x-originating-ip: [75.174.57.114]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9ddcc2fd-64b1-4f9b-c824-08d8e36bc052
x-ms-traffictypediagnostic: CS1PR8401MB1048:
x-microsoft-antispam-prvs: <CS1PR8401MB1048BFAD9338E8C579F497669E919@CS1PR8401MB1048.NAMPRD84.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:10000
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0
x-microsoft-antispam-message-info: wd0K/MRUGYC0W62y40e8ZiUfNoLznPo/Svv/OmVXDxmVxS3+Cedq1zH4jrg+zeoIq9kFpvujWCNWRmOzaTRS0kchDBibVpCqsXzqf9P4NbgyCuIDKAM9l8J0GoVmQXlTQ3GqRkeXJCwqIiPWAWkX4NIaGki+GyjblHVi5whEZZMC3qF3aRJTWv/bN0lmamvbpDOGfL+GVMpreE+bNehu44Y+k0/JBFQzmWLb0ixbJ4PMr7T9ZSpB6lWWtzD81DORucRVQfVjTX9at1xrYBZoSdjT/lZ+qQp1Ql4vOq/WJGzKs94fGtQnWYk4OjDp93snjNogLhDtsUyQ+FNMriP6sE4zoPhtkg0dSuSnkHXOJwY6PeDD2ILb34rZmAEJ7N4miBgVyiRDrS1sxsq7SLQza9K3m1XW5sSkH6cI9Nzmw7r9bse0lRGJCsw7Onx5sXJC2L+gVVuMnGvr2iJTRkTgKZ3h5dd0oYgwKkZrjn2vY0iLg3yBiiXhzNDtc5eSee4CtbCZNWph6HxESrdoe1kYLwEdr4WpBy2BhU9ZuRMuz1MQKH1F2vTsX/Ch1SybI668EWBk5VErv04lhFOsn7jqDw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(39860400002)(136003)(376002)(366004)(396003)(346002)(83380400001)(99936003)(66446008)(6916009)(6486002)(6506007)(86362001)(36756003)(64756008)(66946007)(66616009)(66476007)(66556008)(76116006)(91956017)(53546011)(2906002)(45080400002)(33656002)(5660300002)(2616005)(26005)(8676002)(4326008)(8936002)(71200400001)(186003)(316002)(6512007)(478600001)(45980500001); DIR:OUT; SFP:1102
x-ms-exchange-antispam-messagedata: aoJ2XPBNJSZW6ON39w+ZtH0uZqhXGIhy/EbI/dotSsrE44ltKz0JsZEimW51IGJOv8jNgzr9MpoutGfKeOdFlzz1NYXwHpJpFjsPtN/lzEUtTCLLJsUsYkpBsqbahqxHtjYtIYMhlwiq89Mv9y2IHgEO+/y+840nvKx2PxoGHpWHcD3WEtLgHhmYoENft1U3sFTgY50zAVjEaWay6i619cUgKxAFvSGr+JPXeCF52NhskIFBqmaQYbfTM3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kIS0AfXrH8ID0N52I+f3uAjByms+g==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: hp.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 9ddcc2fd-64b1-4f9b-c824-08d8e36bc052
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2021 02:25:19.8902 (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: 3KlyReuPptKsguLT93GB+ONTKEAT16qGAss/SIOxg+ZjCHJgwSn1wCLAt/mPDPAlgPH1Q3ITfSzF7ktmno5YKg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB1048
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA62A171 smtp.mailfrom=smith.kennedy@hp.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: hp.com
Content-Language: en-US
Cc: PWG IPP WG Reflector <ipp@pwg.org>
Subject: Re: [IPP] IPP Registration Request for Addition: New keywords for the "media" attribute
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="===============6854632160752181908=="
Errors-To: ipp-bounces@pwg.org
Sender: ipp <ipp-bounces@pwg.org>

Hi Mike,

I'm going to get back to the new media keywords in a separate response, but it seems like there are some issues here that need resolution. More below

Smith

> On Mar 3, 2021, at 4:08 PM, Michael Sweet <msweet@msweet.org> wrote:
> 
> Smith,
> 
>> On Mar 3, 2021, at 5:51 PM, Kennedy, Smith (Wireless & IPP Standards) <smith.kennedy@hp.com> wrote:
>> ...
>> So three notes:
>> 
>> 1. CUPS-based systems (including Linux, macOS, and iOS) never use any localized media size names from the Printer
>> 2. Windows 10's IPP class driver only supports well-known media sizes at present (where "well known" seems to be limited to standard office printer sizes) - yes, I've filed a bug report on it...
>> 3. macOS (at least) groups media sizes by dimension, for example "US Letter" and "US Letter (Borderless)" while iOS and CUPS clients do no grouping.
>> 
>> [Smith K.] Understood. And it is up to the Client implementor to take advantage of message catalog provided strings or family information (or not). But there are other clients that do use the behavior I described, including HP vendor drivers for Windows and Android. We can do it with a vendor extension but I would prefer to not do that.
> 
> If we are using media-col-database, I would rather have another member attribute that provides the grouping information because modern clients use media-col-database/ready and *not* media-supported/media-ready (in order to get supported media types, sources, and margins).

Agreed. So "media-family" (name(MAX)) or "media-group" (name(MAX))?

> 
>> If the Client were implemented to use “media-col-database” rather than “media-supported”, the “media-key” value for the two variants could both use “na_arch-c_18x24in”
>> 
>> "media-key" is a *unique* keyword for a combination of media-size, media-type, etc.  "media-name" (the localized name) might be the same but I don't see any Client using it since (as I've noted previously) current Clients use the dimensions to lookup the corresponding localized name (even if it is a dimensional name like "4 x 6")
>> 
>> [Smith K.] I think we are talking about two different things: how the PWG has defined the members of the “media-col” collections to be used along with other facilities of IPP such as printer-resident message catalogs, and how some clients have been implemented to use those members and other IPP facilities. I don’t doubt your assertion that CUPS-based systems have been implemented to choose non-printer-resident strings based on “media-size” or “media-size-name” and ignore “media-key”. But is that how we in the PWG are intending “media-col-ready” and “media-col-database” to be used?
> 
> Yes.
> 
> The "media-size" member attribute is REQUIRED while "media-size-name" and "media-key" are just RECOMMENDED.

OK, and I don't dispute this.

But let's say that a Printer supports a number of standard media sizes, and the Printer's manufacturer wanted to support some vendor-unique media sizes, and provide localized labels / names for these. If the Printer only provided "media-size", like the example from page 43 of 5100.7-2019, what value from the media-col collection would a Client be expected to use as the key to locate the appropriate string in the message catalog?

media-col-database={
        /* Vendor size */
        media-size={
          x-dimension=22000
          y-dimension=22700
        }
        media-source='auto'
        media-type='stationery'
      }

It seems that the Printer would need to provide "media-size-name" or "media-key" if the string were to be acquired from the IPP Message Catalog, and could provide both. But which member would the Client be expected to use as its key? Should the Printer provide the same strings for both keys? It seems like 5100.7 needs some guidance on this. The "finishing-template" member of "finishings-col" is the obvious (and required) member for finishings, but we don't seem to have this for "media-col".


>  The whole purpose of MSN size names was to formalize the syntax of keyword names so they were self-describing with "natural" dimensions, so that the "media" attribute would only specify the desired media size (and not the type or source).  All legacy media values were deprecated with STD92, making media-col the only way to specify media size, type and source (via member attributes).



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