How to modify the "Printer status" through API.

d d 80 Reputation points
2023-07-11T02:26:48.2833333+00:00

I regist a OEM printer following https://learn.microsoft.com/en-us/universal-print/hardware/universal-print-oem-printer-registration . The printer show as below.1

How to modify the value of "Printer status" through API?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Answer accepted by question author
  1. msft-gu 1,360 Reputation points
    2023-08-12T00:03:17.9966667+00:00

    Hi,

    Good day and thank you for your question. I checked the documentation for printer resource type and saw the following information below.

    • Property: status
    • Type: printerStatus
    • Description: The processing status of the printer, including any errors.

    Clicking on the printer status leads me to another article that provides processingStateValues.

    Reference:

    https://learn.microsoft.com/en-us/graph/api/resources/printer?view=graph-rest-1.0&preserve-view=true

    https://learn.microsoft.com/en-us/graph/api/resources/printerstatus?view=graph-rest-1.0

    If I answered your question, please upvote and accept it as an answer. Have a nice day ahead.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.