[IPP] RFC: max-page-ranges-supported (integer(1:MAX)) Printer Description Attribute

Michael Sweet via ipp <ipp@pwg.org> Thu, 11 July 2019 15:50 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 B57A812028F for <ietfarch-ipp-archive@ietfa.amsl.com>; Thu, 11 Jul 2019 08:50:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.899
X-Spam-Level:
X-Spam-Status: No, score=-2.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 LaBTr5di7w6Q for <ietfarch-ipp-archive@ietfa.amsl.com>; Thu, 11 Jul 2019 08:50:06 -0700 (PDT)
Received: from mail.pwg.org (mail.pwg.org [50.116.7.199]) by ietfa.amsl.com (Postfix) with ESMTP id 8943712015B for <ipp-archive2@ietf.org>; Thu, 11 Jul 2019 08:50:06 -0700 (PDT)
Received: by mail.pwg.org (Postfix, from userid 1002) id D70D396A3; Thu, 11 Jul 2019 15:50:05 +0000 (UTC)
Received: from mail.pwg.org (localhost [IPv6:::1]) by mail.pwg.org (Postfix) with ESMTP id A232026B6; Thu, 11 Jul 2019 15:50:02 +0000 (UTC)
X-Original-To: ipp@pwg.org
Delivered-To: ipp@pwg.org
Received: by mail.pwg.org (Postfix, from userid 1002) id B3F4E2459; Thu, 11 Jul 2019 15:50:01 +0000 (UTC)
Received: from mail.msweet.org (mail.msweet.org [173.255.209.91]) by mail.pwg.org (Postfix) with ESMTP id 5A80C2459 for <ipp@pwg.org>; Thu, 11 Jul 2019 15:50:01 +0000 (UTC)
Received: from [192.168.0.185] (unknown [184.151.36.20]) by mail.msweet.org (Postfix) with ESMTPSA id 37855820C8; Thu, 11 Jul 2019 15:49:59 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3564\))
Date: Thu, 11 Jul 2019 11:49:55 -0400
Message-Id: <8B3B1E64-8BB8-49C4-B96A-240540C73E5D@msweet.org>
To: PWG IPP Workgroup <ipp@pwg.org>
X-Mailer: Apple Mail (2.3564)
Subject: [IPP] RFC: max-page-ranges-supported (integer(1:MAX)) Printer Description 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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ipp-bounces@pwg.org
Sender: ipp <ipp-bounces@pwg.org>

All,

A recent issue on the Javascript IPP project (https://github.com/williamkapke/ipp/issues/72) highlights an issue with the "page-ranges (1setOf rangeOfInteger)" Job Template attribute, namely that a Client cannot discover how many ranges a printer supports.  The existing "page-ranges-supported (boolean)" attribute only specifies whether the "page-ranges" Job Template attribute is supported and not the maximum number of values a Printer supports.  Moreover, existing Printers seem to ignore extra values without reporting this in the unsupported attributes group of the Create-Job/Print-Job/Print-URI/Validate-Job response, so from the perspective of the Client nothing has gone wrong.

For other attributes we have a "max-xxx" Printer Description attribute that tells the Client how many values can be specified, e.g., "max-stitching-locations-supported" and "max-materials-col-supported".  I therefore propose to register a new "max-page-ranges-supported (integer(1:MAX))" Printer Description attribute that a Printer can return to specify the number of page ranges the Printer supports.

Here is the registration template:


Printer Description attributes:               Reference
------------------------------                ---------
max-page-ranges-supported (integer(1:MAX))    [IPP20190711]


________________________
Michael Sweet



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