Re: [IPP] IPP Enterprise Printing Extensions v2.0 next draft - question on the F2F minutes

"Kennedy, Smith (Wireless & IPP Standards) via ipp" <ipp@pwg.org> Wed, 20 May 2020 14:58 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 2821D3A0A6A for <ietfarch-ipp-archive@ietfa.amsl.com>; Wed, 20 May 2020 07:58:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.697
X-Spam-Level:
X-Spam-Status: No, score=-2.697 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, RCVD_IN_DNSWL_BLOCKED=0.001, 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 QhuM6QEAEygE for <ietfarch-ipp-archive@ietfa.amsl.com>; Wed, 20 May 2020 07:58:06 -0700 (PDT)
Received: from mail.pwg.org (mail.pwg.org [50.116.7.199]) by ietfa.amsl.com (Postfix) with ESMTP id 57B743A0A7E for <ipp-archive2@ietf.org>; Wed, 20 May 2020 07:58:05 -0700 (PDT)
Received: by mail.pwg.org (Postfix, from userid 1002) id F06A061A1; Wed, 20 May 2020 14:58:04 +0000 (UTC)
Received: from mail.pwg.org (localhost [IPv6:::1]) by mail.pwg.org (Postfix) with ESMTP id 185892652; Wed, 20 May 2020 14:57:59 +0000 (UTC)
X-Original-To: ipp@pwg.org
Delivered-To: ipp@pwg.org
Received: by mail.pwg.org (Postfix, from userid 1002) id 8DCF22484; Wed, 20 May 2020 14:57:57 +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 A5BD92484 for <ipp@pwg.org>; Wed, 20 May 2020 14:57:55 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hp.com; s=mimecast20180716; t=1589986674; 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=cZhuvI2TDYWIHUgnv7hRl+ujhb0iY8VxwyqfqaFhMqY=; b=ga+Zm6zz4yQzW5fAKXe3mrsgwmwoFMAwwE+tgmTWTg2UTuJOXp68RcghzTVcmy16JT5b2e IoI/Dpa1pevwQ73Hblgl0H7FW17GdjT8txb48kOSOFtMaEDCbEd2rbh6OPIA73xuhnC9CS O0b/U4WqNaUlhDwHoKoQC9k450hrgYE=
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2169.outbound.protection.outlook.com [104.47.55.169]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-402-mFxItsGqO2iFABWC6bUtXw-1; Wed, 20 May 2020 10:57:51 -0400
X-MC-Unique: mFxItsGqO2iFABWC6bUtXw-1
Received: from CS1PR8401MB0632.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7514::18) by CS1PR8401MB0629.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:750d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23; Wed, 20 May 2020 14:57:49 +0000
Received: from CS1PR8401MB0632.NAMPRD84.PROD.OUTLOOK.COM ([fe80::e1db:1790:ed1b:f6f3]) by CS1PR8401MB0632.NAMPRD84.PROD.OUTLOOK.COM ([fe80::e1db:1790:ed1b:f6f3%7]) with mapi id 15.20.3021.020; Wed, 20 May 2020 14:57:49 +0000
To: Michael Sweet <msweet@msweet.org>
Thread-Topic: [IPP] IPP Enterprise Printing Extensions v2.0 next draft - question on the F2F minutes
Thread-Index: AQHWLmFpa6H9J+85wEqWah+tXDif9Kiw6OsAgAAoXoA=
Date: Wed, 20 May 2020 14:57:49 +0000
Message-ID: <3D3C06FB-BE81-45A6-92B2-6BEBAAED8B4D@hp.com>
References: <83B37BA5-DF93-4FE1-BE28-D40A0F4B5BED@hp.com> <3A140B78-1881-4390-B17A-0BEE71A19F31@msweet.org>
In-Reply-To: <3A140B78-1881-4390-B17A-0BEE71A19F31@msweet.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3608.80.23.2.2)
x-originating-ip: [174.27.55.247]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 859a52ae-4068-4dab-7a85-08d7fcce2a09
x-ms-traffictypediagnostic: CS1PR8401MB0629:
x-microsoft-antispam-prvs: <CS1PR8401MB0629F36739C9FCA1955C51869EB60@CS1PR8401MB0629.NAMPRD84.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:1002;
x-forefront-prvs: 04097B7F7F
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: NSrPZUib0p0wH5rLC8RIl0HHk/6Cs47U3Tet4xoig39IQty65U7W+1HKpuj2LWvKIkgfN82a5LM6aLm+owya5NYYHxJ58ZmzK4Hqz82JKZsGF7+pofY6mk/PI+LbkaH1qqQ+Whfb7godTxYMb6t7hLRsiuHklXGqKqkag/n63IOv0hXhISvHW7pgvt1z9tYz0uG6ae+hU7kQ3m8BVolNyQsd0NGooe3y2v3xt48U2huzinFLGe1iO3TCSXnVBRfj46ioTHcBfyUqpqvqsgFJ8WyHF3Ije8k/lh8PEfEcCBQEQ+uJR5NIPz/yr4MMnv4HtRt/+L3T3GBoXA6b4sawhc7YrfWAZNfAte1fV/tL6g1ztdmdlF6LMFO3bQnadXXhrJZVGTHYd6aWmaHPWc08mg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CS1PR8401MB0632.NAMPRD84.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(396003)(376002)(136003)(39860400002)(346002)(366004)(5660300002)(86362001)(71200400001)(33656002)(99936003)(478600001)(2906002)(26005)(6506007)(91956017)(186003)(53546011)(8676002)(66946007)(76116006)(8936002)(66616009)(64756008)(66556008)(2616005)(4326008)(966005)(6486002)(66476007)(6916009)(6512007)(66446008)(166002)(316002)(36756003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: iJ7fip0FecsnK6DU/Z3GYe7Kw1GG2cQwkOsaFo+Y6nh+5zWV+1HwhTRjS/4q85hxmzQTNsCWI69+uE3o0wFC5VrNP1zPPzBu/7wszQ3z/CDIgotJ0Twms2pvcGjNU4MtBstA8/sDUMifuSATDuqmJYeLNLq10bZATmpPQcErL2Azxvq32AXbxC7lLpLpPYZyJLeRP7G3syxKqv+fyZO0nvgqFagopbKkBoAfJsu3lep8HAjnvIi5V+K1F7yfEP6lvWhwsQzWKI9eODS/yBA9kvJ1JpYzH0ktjowIPeA7KrK9es+bYJ5DYPfEDBh2DsF7zsYT5d3jVWSiMx/fuWQxGukLumJMqBehEECvlFK/quwuO/nvAtNRFzvrKr2Ch6355ar5/Y8dIYd+X0nU58mKt05MOEDIw3Fyl9GALM9611xssxUYws8KOk2wJfXGaBj7WAC8mNAb7FH/OhwfFq3BbG9Q5zQDbYm1j2aGdojHaoO/jkhFeSXkNQCEPlNziwpF
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: hp.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 859a52ae-4068-4dab-7a85-08d7fcce2a09
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 May 2020 14:57:49.3462 (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: FR2KKZ1Cr0fo4zOK6NTRpkwlI75ILyLn/9umBTO9K1f8ub0ZBJgVgYWRNJcDNhl91DhvM1uaUuooIuvcN7zojw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0629
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: hp.com
Cc: PWG IPP WG Reflector <ipp@pwg.org>
Subject: Re: [IPP] IPP Enterprise Printing Extensions v2.0 next draft - question on the F2F minutes
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="===============1401817038820589647=="
Errors-To: ipp-bounces@pwg.org
Sender: ipp <ipp-bounces@pwg.org>

Hi Mike,

Sorry, but there are a few rants below. 😊

> On May 20, 2020, at 6:33 AM, Michael Sweet <msweet@msweet.org> wrote:
> 
> Smith,
> 
> So the gist of this is that Clients are looking at the job-state-reasons attribute for 'job-password-wait' when the Job isn't completed, and so for EPX 2.0 we should modify the semantics of job-password to be that output is withheld until the End User enters the job-password value at the printer. One possible implementation is to put the Job in the 'pending-held' state and delay processing until the password is entered. Another is to let the Job start processing and then end up in the 'processing-stopped' state until the password is entered. In these cases the Client will see 'job-password-wait' until the password is entered, and then Job will proceed to a terminating state ('completed', 'canceled', or 'aborted') after processing/output is done, as appropriate.

It seems the best choice is to remove any mention of Job State as it pertains to Job Password, and focus on "job-state-reasons" keywords to be the primary indicator. But that is suggesting to me that IPP job state is broken. More on this below.

> 
> In the case of Release Printing, there is a third possibility where the Job is processed and put in a terminating state (either 'completed' or 'aborted') with the 'job-password-wait' keyword still present. Since the Job has reached a terminating state, the state-reasons MUST NOT change once the password is entered for releasing the Job at a particular output device, but Clients stop monitoring Jobs at this point anyways and move on to the next Job in their local queues.

I'm increasingly troubled by this. This has to be brought back to a simpler place than where we are today.

I think Clients stop monitoring a Release Job at this point because the Printer has caused the Job to reach the terminal state. And printers have caused a Job that should have stayed in 'pending-held' or 'processing-stopped' to reach its terminal state because some Clients block sending new Jobs until the previously sent Job has reached its terminal state, and so the Printer let the Client get away with its bad behavior by lying and moving it to a terminal state when it in fact hadn't reached a terminal state. I think this needs to be fixed. And it shouldn't require a bunch of special cases, because that increases the risk of weirdness.

I'm going to work on slides illustrating a bunch of Client / Printer topologies, and I hope we can evaluate job state and other indicators, and come up with clear messages about what the Printer reports and how a well-implemented Client ought to behave.

> 
> (The Release Printing variation isn't pretty, and maybe we should make the semantic that 'job-password-wait' is only added for Physical Devices?)

Two points on this:

1. From our earlier discussion I had said that the Printer will put the Job in the 'pending-held' state when the Printer is a Physical Device. I tried to intentionally leave vague what a Logical Device would do. But this dialog has me in a place where I think we need to look through the several use cases and clearly agree on and document a Job's state and how a Client should or should not act in response to this. We had also discussed how the Client's blocking behavior should depend on whether the Printer (Logical or Physical) supports spooling, as indicated by "job-spooling-supported", so we should include that factor in the discussion as well. I think any Printer that supports Job Release MUST also support "job-spooling-supported" = 'spooling' and/or 'automatic'.

2. My current thinking is that the existing "job-password" / "job-password-encryption" semantic (either how it was specified in 5100.11-2010 or how it exists in the real world, which seems to be pretty different) would remain as-is. If "job-release-wait" = 'job-password', the new Job Release semantics defined for all three Release Action types would apply. That would allow legacy implementations to be as weird as they already seem to be, but try to bring us back to some semblance of consistency and predictability without this band-aid upon band-aid to tolerate the other side's disappointing misbehavior.

> 
> 
> > On May 20, 2020, at 12:44 AM, Kennedy, Smith (Wireless & IPP Standards) via ipp <ipp@pwg.org> wrote:
> >
> > Hi Mike,
> >
> > In the minutes from the last F2F (https://ftp.pwg.org/pub/pwg/ipp/minutes/ippv2-f2f-minutes-20200506.pdf <https://ftp.pwg.org/pub/pwg/ipp/minutes/ippv2-f2f-minutes-20200506.pdf>) covering the review of IPP Enterprise Printing Extensions v2.0, it says this toward the bottom of page 4:
> >
> > β€’ ⁃ Decouple job-state from Job Release:
> >
> > β€’ ⁃ job-state-reasons provides the Release state information
> >
> > β€’ ⁃ While 1.0 says job-password holds a job, subsequent
> >
> > implementation experience shows that processing a job is also a valid implementation semantic - any job-state is OK for job-password
> >
> > β€’ ⁃ Also valid for a Printer to hold a job that has a release action
> >
> > I'm wondering what this means and how this might affect the document. Are you saying that I need to change the language for "job-password" to soften it so that it isn't a hard requirement for the Job to be in the 'pending-held' state initially? I'm trying to not break backward compatibility so I'm not sure what to do with this.
> >
> > Thanks for any help,
> >
> > Smith
> >
> > /**
> > Smith Kennedy
> > HP Inc.
> > */
> >
> > _______________________________________________
> > ipp mailing list
> > ipp@pwg.org
> > https://www.pwg.org/mailman/listinfo/ipp <https://www.pwg.org/mailman/listinfo/ipp>
> 
> ________________________
> Michael Sweet
> 
> 

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