Edit

printJob resource type

Namespace: microsoft.graph

Represents a print job that has been queued for a printer.

Methods

Method Return Type Description
Get printJob Read properties and relationships of printJob object.
Create print job printJob Create a new print job object.
Update printJob Update a print job object.
Start None Start the print job.
Cancel None Cancel the print job.
Abort None Abort the print job.
Redirect printJob A print job that is queued for the destination printer.
Release printJob Release a printJob held in the cloud for secure release to print it at the target printer.
Release wait printJob collection Get the signed-in user's printJob objects that are held in the cloud for secure release and can be released at the specified physical printer.

Properties

Property Type Description
acknowledgedDateTime DateTimeOffset The date and time when the job was acknowledged. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z.
configuration printJobConfiguration A group of settings that a printer should use to print a job.
createdBy userIdentity Read-only. Nullable.
createdDateTime DateTimeOffset The date and time when the job was created. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z.
errorCode Int32 The error code of the print job. Read-only.
id String The ID of the print job. Read-only.
isFetchable Boolean If true, document can be fetched by printer.
redirectedFrom String Contains the source job URL, if the job has been redirected from another printer.
redirectedTo String Contains the destination job URL, if the job has been redirected to another printer.
releasedDateTime DateTimeOffset The date and time when the print job was released for printing. This property can be absent for jobs that aren't released. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z.
status printJobStatus The status of the print job. Read-only.

Relationships

Relationship Type Description
documents printDocument collection Read-only.
tasks printTask collection A list of printTasks that were triggered by this print job.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.printJob",
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)",
  "status": {
    "@odata.type": "microsoft.graph.printJobStatus"
  },
  "createdBy": {
    "@odata.type": "microsoft.graph.userIdentity"
  },
  "configuration": {
    "@odata.type": "microsoft.graph.printJobConfiguration"
  },
  "redirectedTo": "String",
  "redirectedFrom": "String",
  "isFetchable": "Boolean",
  "releasedDateTime": "String (timestamp)"
}