During the 9/26/19 PrintTalk meeting, we decided the following:
- Section 6.5.3 Job Tracking is missing useful information about the flow when doing status requests via subscription. For example, 6.5.3 should maybe be split into two sections (184.108.40.206 and 220.127.116.11), one for the non-subscription case (already in the spec) and one for the subscription case. And a new diagram should definitely be added in any case to show the subscription control flow.
- These updates should occur in PrintTalk 2.1.
6.5.3 Job Tracking
A Print Buyer MAY request details of a job such as milestones, tracking identifiers or color reports either by sending an explicit OrderStatusRequest or by providing one or more PurchaseOrder/StatusRequest elements.There are 2 options for requesting details of a job:
* A request for the current state of the job: see ##ref 18.104.22.168 Job tracking without subscription.
* A subscription for future updates of the state of a job: see ##ref 22.214.171.124 Job tracking with subscription.
126.96.36.199 Job tracking without subscription
A Print Buyer MAY request the Print Provider to provide details of the current state of a job by sending an
OrderStatusRequest with OrderStatusRequest/@Subscribed=false that references a PurchaseOrder.
The Print Provider SHALL respond with an OrderStatusResponse that references the OrderStatusRequest and is evaluated in the context of the PurchaseOrder that is referenced by OrderStatusRequest.
<move existing Figure 6-8: Job Tracking without Subscription here>
188.8.131.52 Job tracking with subscription
A Print Buyer MAY subscribe with the Print Provider to provide details of the state either by sending an
explicit OrderStatusRequest with OrderStatusRequest/@Subscribed=true that references a PurchaseOrder or by providing one or more PurchaseOrder/StatusRequest elements.
The Print Provider SHALL NOT respond with an OrderStatusResponse until one of the the trigger conditions defined in a StatusRequest is met.
If the Print Buyer has provided StatusRequest elements in the context of a PurchaseOrder, the Print Provider SHOULD SHALL send
details of the status of a job to a Print Buyer by sending an OrderStatusResponse that references the PurchaseOrder whenever
one of the conditions defined by a StatusRequest is met.
A Print Provider MAY additionally send details of the status of a job to a Print Buyer by sending an OrderStatusResponse
that references the PurchaseOrder in a system dependent manner.
<add Figure 6-9: Job Tracking with Subscription here>