How to mark print job Complete

Brogdon, Michael 1 Reputation point
2021-12-16T23:56:08.84+00:00

I walked through the examples in https://github.com/microsoftgraph/universalprint-samples/tree/master/S2S%20Integration%20Samples and created an application where I am able to successfully:

  • Create a task definition
  • Create a virtual printer queue
  • Associate the virtual printer queue with the task definition with a task trigger
  • Subscribe to the task notification and when the document is available for download
  • Print a job to the virtual printer
  • I get the task notification
    • I change the print settings to force grayscale
    • I then mark the print task as complete
  • I then get the notification for a fetchable document for the job
    • I then download the job successfully

It is not clear how to mark the print job as complete from this point on. I tried to update the job status using an application permissions but that fails. No matter what I do, it remains in the pending state.

My question is, how do I inform UP the job has been "acquired" and the job should be considered complete?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,715 questions
0 comments No comments
{count} votes