Upravit

Sdílet prostřednictvím


printerStatus 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 processing status of the printer, including any errors.

Properties

Property Type Description
state printerProcessingState The current processing state. Valid values are described in the following table. Read-only.
details printerProcessingStateDetail collection The list of details describing why the printer is in the current state. Valid values are described in the following table. Read-only.
description String A human-readable description of the printer's current processing state. Read-only.

printerProcessingState values

Member Value Description
unknown 0 The processing state reported by the printer is unknown.
idle 1 The printer is idle and ready to accept new print jobs.
processing 2 The printer is currently processing a print job and will process any pending jobs upon completion.
stopped 3 The printer encountered an issue (for example, ran out of paper in the active tray) and can't continue the current print job until the issue is addressed. See the details value(s) or the description value for more information.
unknownFutureValue 4 Evolvable enumeration sentinel value. Don't use.

printerProcessingStateDetail values

printerProcessingStateDetail enum type

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
    "state": "String",
    "details": ["String"],
    "description": "String"
}