printTaskStatus resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the current execution status of a printTask.

Note: Applications that register task triggers are responsible for updating task statuses when processing is finished, unless the related print job has been redirected to another printer.

For details about how to use this resource to add pull printing support to Universal Print, see Extending Universal Print to support pull printing.

Properties

Property Type Description
state printTaskProcessingState The current processing state of the printTask. Valid values are described in the following table.
description String A human-readable description of the current processing state of the printTask.

printTaskProcessingState values

Member Value Description
pending 0 Task execution is pending.
processing 1 Task execution is in progress.
completed 2 Task execution has completed.
aborted 3 Task execution was aborted.
unknownFutureValue 4 Evolvable enumeration sentinel value. Do not use.

JSON representation

The following is a JSON representation of the resource.

{
  "state": {"@odata.type": "microsoft.graph.printTaskProcessingState"},
  "description": "String"
}