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

Michael Sweet via ipp <ipp@pwg.org> Wed, 03 March 2021 23:08 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 7FDDE3A1CFE for <ietfarch-ipp-archive@ietfa.amsl.com>; Wed, 3 Mar 2021 15:08:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.9
X-Spam-Level:
X-Spam-Status: No, score=-2.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-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 uQOBWfxzkZJM for <ietfarch-ipp-archive@ietfa.amsl.com>; Wed, 3 Mar 2021 15:08:55 -0800 (PST)
Received: from mail.pwg.org (mail.pwg.org [50.116.7.199]) by ietfa.amsl.com (Postfix) with ESMTP id ABC703A1CFD for <ipp-archive2@ietf.org>; Wed, 3 Mar 2021 15:08:55 -0800 (PST)
Received: by mail.pwg.org (Postfix, from userid 1002) id E6941F411; Wed, 3 Mar 2021 23:08:54 +0000 (UTC)
Received: from mail.pwg.org (localhost [IPv6:::1]) by mail.pwg.org (Postfix) with ESMTP id 78B5FC944; Wed, 3 Mar 2021 23:08:52 +0000 (UTC)
X-Original-To: ipp@pwg.org
Delivered-To: ipp@pwg.org
Received: by mail.pwg.org (Postfix, from userid 1002) id C66B7C944; Wed, 3 Mar 2021 23:08:50 +0000 (UTC)
Received: from mail.msweet.org (mail.msweet.org [173.255.209.91]) by mail.pwg.org (Postfix) with ESMTP id 9CA8036C for <ipp@pwg.org>; Wed, 3 Mar 2021 23:08:48 +0000 (UTC)
Received: from mbp16.localdomain (cbl-66-186-76-47.vianet.ca [66.186.76.47]) by mail.msweet.org (Postfix) with ESMTPSA id EA69F827D3; Wed, 3 Mar 2021 23:08:47 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
In-Reply-To: <CS1PR8401MB051864102AA2F22A74128DF99E989@CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM>
Date: Wed, 03 Mar 2021 18:08:46 -0500
Message-Id: <66391665-903F-4926-BCA6-15B862D80759@msweet.org>
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>
To: Smith Kennedy <smith.kennedy@hp.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Cc: PWG IPP Workgroup <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: Michael Sweet via ipp <ipp@pwg.org>
Reply-To: Michael Sweet <msweet@msweet.org>
Content-Type: multipart/mixed; boundary="===============5478036738715016001=="
Errors-To: ipp-bounces@pwg.org
Sender: ipp <ipp-bounces@pwg.org>

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).

> 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.  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).

> (I don’t see a “media-name” member registered with IANA or in 5100.7…)

Sorry, "media-info" (RECOMMENDED).

________________________
Michael Sweet



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