[IPP] Using the IPP System Service Get-Printers operation to find the resource path of the default printer

"Kennedy, Smith (Wireless & IPP Standards) via ipp" <ipp@pwg.org> Thu, 29 October 2020 20:12 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 2B2543A00C9 for <ietfarch-ipp-archive@ietfa.amsl.com>; Thu, 29 Oct 2020 13:12:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, 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 WY6x7F6QJBqc for <ietfarch-ipp-archive@ietfa.amsl.com>; Thu, 29 Oct 2020 13:12:03 -0700 (PDT)
Received: from mail.pwg.org (mail.pwg.org [50.116.7.199]) by ietfa.amsl.com (Postfix) with ESMTP id 95DB63A005C for <ipp-archive2@ietf.org>; Thu, 29 Oct 2020 13:12:03 -0700 (PDT)
Received: by mail.pwg.org (Postfix, from userid 1002) id 5CA78E903; Thu, 29 Oct 2020 20:12:03 +0000 (UTC)
Received: from mail.pwg.org (localhost [IPv6:::1]) by mail.pwg.org (Postfix) with ESMTP id 59450E87E; Thu, 29 Oct 2020 20:12:01 +0000 (UTC)
X-Original-To: ipp@pwg.org
Delivered-To: ipp@pwg.org
Received: by mail.pwg.org (Postfix, from userid 1002) id 1184CE8E9; Thu, 29 Oct 2020 20:12:00 +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 7DCA41C98 for <ipp@pwg.org>; Thu, 29 Oct 2020 20:11:58 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hp.com; s=mimecast20180716; t=1604002317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=skPhEy9BSP9t1V3/XBhSLFmIsbgiffRSC69Q8/bsNuw=; b=LSDlt/UiiTwG6GEzm3STefw2OspdUKxCX5lRddlfhPBmAfFMho6d5SSl+1moyKrkQgqhFA vaToNpLipz5e47a+x99/Oxv0yhy4t1iyKCOkXYefkn35Aqa8Y1g3DFPvsFxwgRh1YqaFMe 3ov7ALj3q+kXJtyFJu6xmgfjC4CRaUg=
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2175.outbound.protection.outlook.com [104.47.57.175]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-50-ZABau94NPUG2ucRs5L_tgg-1; Thu, 29 Oct 2020 16:11:55 -0400
X-MC-Unique: ZABau94NPUG2ucRs5L_tgg-1
Received: from CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7512::12) by CS1PR8401MB0471.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:750d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Thu, 29 Oct 2020 20:11:54 +0000
Received: from CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM ([fe80::d013:f153:d437:d64a]) by CS1PR8401MB0518.NAMPRD84.PROD.OUTLOOK.COM ([fe80::d013:f153:d437:d64a%9]) with mapi id 15.20.3477.034; Thu, 29 Oct 2020 20:11:54 +0000
To: PWG IPP WG Reflector <ipp@pwg.org>
Thread-Topic: Using the IPP System Service Get-Printers operation to find the resource path of the default printer
Thread-Index: AQHWri++cN7HV83wi0OS1g2bW43pog==
Date: Thu, 29 Oct 2020 20:11:54 +0000
Message-ID: <1BDE48EA-1025-42F0-A929-59BBE96040DA@hp.com>
Accept-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3608.120.23.2.4)
x-originating-ip: [174.27.43.226]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 957f00d0-1685-477f-8c5a-08d87c46e13d
x-ms-traffictypediagnostic: CS1PR8401MB0471:
x-microsoft-antispam-prvs: <CS1PR8401MB0471FF3F2107FED1045BC4C59E140@CS1PR8401MB0471.NAMPRD84.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:8273
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0
x-microsoft-antispam-message-info: OcidZ6qb4jFRkTfvDQvaX7ieKujeUPC7LxW63aXoqSZiwKRZQ1+TMUlHzMyNiyDU51ojbUkfuqPwpdtso+/q6GJk9uZoCPKRSlWdLfF0LRTkPqTSiWPfUi3M0yKd9kG9sLMPjK1w4bxKMl0EoLhS0n0gGsFzH+fh9BBs17NBAoFixhpybCJLg9Gxg3XC2vf5OAbEhgyScRafk9XEtYQQZmojZ25BvWN6QL8f2o4ybps5DKs7Y4Ik3sbktZkzyACrkqDNNdpjrKclUFCayxPYwYcjjxadzA05FfrwCxHHNvODqEBb0vJULcSAUB8k4TZ4W2GWMkCYW+R9HC67M5iD7K9jgL1hMPYq8uLMeLujv5vNzMqqhL4igAvlJ17MGHzP
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:(346002)(39860400002)(366004)(136003)(376002)(396003)(66556008)(66446008)(66946007)(66616009)(64756008)(66476007)(33656002)(5660300002)(2616005)(99936003)(76116006)(91956017)(6916009)(71200400001)(478600001)(36756003)(6512007)(186003)(6506007)(83380400001)(8936002)(86362001)(26005)(2906002)(8676002)(6486002)(316002)(37363001); DIR:OUT; SFP:1102
x-ms-exchange-antispam-messagedata: z54gj8iwB6bGW5yAxx1ReBryV9OD738BTJBZKBNT4853Q/joR47fpR8g7IkJyZLOlbK9aI1ce9VsBkjvTMJQD5oNiWDkFH657Gk1XLofVSBFVeJ0qRSDd4UpIgCuqTq91l+VMIWFFeGlGJKwTfeBaqb4ghaxBJwsI/NehJIau51L9XEuCZT2CBingc2jFe4mb7OqxjxmAsK2wqig/1gtZMzGPYbp2ZWC1gFJW0ktQqAWhsdhC4dmK5Ljt1M2T6con6BClplEqDRAvy+aIx+M1Px/VYcNVGdfLsiMmlyEF2gnIxeiXHiAFi3IO76SeYGyZjmW58RmXv1BNO4/v6LB5GeNYo5R9646Ssvt4H7agkzwnhhHD4LRlOI/CsdC5JaMXzlag2L9/FxsxzidvLqZ+OoQ43JKPkkycJor1m91aQhjbbZnK1SIsqIIA1BfNNaQ7ig6AXA7gNeY38OhHGZv/su2Eefxn/taD7QXmEdafpcAqeK4G9fT5JjnHzAOfNkes40gy9fBBVfearF4uy/kJMnk92w+q61YDHwgXXyw4d05fVJejUOJ8Ysu5RmGfI29chlSY9KH3s7oQ+QrVOTYHW18goyFRLeq6ouCPCjgJ5t6ZsM6quzs7vH5m6D6EMNJYll1o99kSFCDst8b8B6y/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: 957f00d0-1685-477f-8c5a-08d87c46e13d
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Oct 2020 20:11:54.0382 (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: VPnfFsH9nNWJZbCLIC6fXon56LKmcfDeS98qA3NoI293+wrHQLaUJ5j06Fu4cyzyTkxcSgbWOcoM9k6B67EHFg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0471
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
Subject: [IPP] Using the IPP System Service Get-Printers operation to find the resource path of the default printer
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="===============3350441343879649901=="
Errors-To: ipp-bounces@pwg.org
Sender: ipp <ipp-bounces@pwg.org>

Hi there,

Some time ago, we observed in the IPP WG that there was no well defined way for an IPP Client to acquire the resource path to the "default" Printer object at a given host, equivalent to consulting the "rp" DNS-SD TXT key. We wanted there to be a purely IPP way to do this, to handle the use case where, for instance, the End User only supplies a DNS hostname or raw IP address.

There is a colloquial method a Client can employ, where the Client sends a Get-Printer-Attributes to the "/" resource path with "requested-attributes" supplying 'printer-uri-supported'. But this behavior isn't normalized by being defined in any PWG specification, at least not that I'm aware of.

Dialogs on this topic when I was authoring IPP Implementor's Guide v2 seemed to indicate that we needed to wait for the new Get-Printers operation to be defined in System Service (PWG 5100.22). But looking at that, I think we (or I) must have dropped the ball on making sure this use case was supported by that operation.

Could we add the colloquial method described above to IPP Driverless Printing Extensions v2.0 (NODRIVER)? Or what to do?

Thanks for any thoughts!

Smith

/**
    Smith Kennedy
    HP Inc.
*/

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