printTaskTrigger resource type

Namespace: microsoft.graph

Important

Microsoft is offering usage of the cloud printing APIs to manage Universal Print at no charge and there are no foreseeable plans to charge for the use of these APIs.

Determines the condition under which a new printTask will be triggered based on the associated printTaskDefinition.

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

Methods

Method Return type Description
List printTaskTrigger collection Get a list of printTaskTriggers associated with a particular printer.
Get printTaskTrigger Get the printTaskTrigger associated with a particular printTask.

Properties

Property Type Description
id String The printTaskTrigger's identifier. Read-only.
event printEvent The Universal Print event that will cause a new printTask to be triggered. Valid values are described in the following table.

printEvent values

Member Value Description
jobStarted 0 Represents an event that occurs when a new print job is started.
unknownFutureValue 1 Evolvable enumeration sentinel value. Do not use.

Relationships

Relationship Type Description
definition printTaskDefinition An abstract definition that will be used to create a printTask when triggered by a print event. Read-only.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.printTaskTrigger",
  "id": "String (identifier)",
  "event": "String"
}