SOLVED

Change print job status via Graph API

%3CLINGO-SUB%20id%3D%22lingo-sub-2013754%22%20slang%3D%22en-US%22%3EChange%20print%20job%20status%20via%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2013754%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20can%20I%20update%20print%20job%20status%20using%20Graph%20API%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20followed%20this%20document%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Funiversal-print-concept-overview%23extending-universal-print-to-support-pull-printing%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EExtending%20Universal%20Print%20to%20support%20pull%20printing%3C%2FA%3E%26nbsp%3Bto%20set%20up%20pull%20printing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20a%20job%20created%20by%20printer%20with%20a%20task%20trigger.%20It's%20%22paused%22.%20Then%20I%20try%20to%20set%20the%20print%20task%20from%20%22processing%22%20to%20%22completed%22%2C%20the%20print%20job%20status%20is%20changed%20from%20%22paused%22%20to%20%22Pending%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20want%20to%20change%20print%20job%20status%20using%20Graph%20API%2C%20how%20can%20I%20do%20that%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2021398%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20print%20job%20status%20via%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2021398%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F910763%22%20target%3D%22_blank%22%3E%40HuongTD3%3C%2FA%3E%26nbsp%3B-%20currently%20updating%20print%20job%20status%20via%20Graph%20is%20not%20available.%20We%20are%20actively%20considering%20this%20feature.%20You%20may%20post%20this%20request%20on%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FUPIdeas%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FUPIdeas%26nbsp%3B%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%3C%2FP%3E%0A%3CP%3ESaurabh%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2038787%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20print%20job%20status%20via%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2038787%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F572522%22%20target%3D%22_blank%22%3E%40Saurabh_Bansal%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20we%20have%20any%20other%20method%20to%20update%20job%20status%3F%20I'm%20using%20graph%20API%20to%20create%20a%20virtual%20printer%20and%20create%20jobs%20for%20this%20printer.%20Thanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2045171%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20print%20job%20status%20via%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2045171%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F910763%22%20target%3D%22_blank%22%3E%40HuongTD3%3C%2FA%3E%26nbsp%3B-%20job%20status%20can%20be%20updated%20using%20IPP%20APIs%20and%20following%20IPP-INFRA%20spec.%20IPP%20APIs%20are%20typically%20targeted%20at%20printer%20hardware%20manufacturers.%3C%2FP%3E%0A%3CP%3EUniversal%20Print%20documentation%20can%20be%20found%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Funiversal-print%2Fhardware%2Funiversal-print-oem-whatis%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOEM%20Universal%20Print%20Device%20Development%20Overview%20-%20Universal%20Print%20%7C%20Microsoft%20Docs.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

How can I update print job status using Graph API?

 

I followed this document Extending Universal Print to support pull printing to set up pull printing.

 

When a job created by printer with a task trigger. It's "paused". Then I try to set the print task from "processing" to "completed", the print job status is changed from "paused" to "Pending".

 

I just want to change print job status using Graph API, how can I do that?

4 Replies

@HuongTD3 - currently updating print job status via Graph is not available. We are actively considering this feature. You may post this request on https://aka.ms/UPIdeas .

 

Thanks

Saurabh

 

@Saurabh_Bansal 

Do we have any other method to update job status? I'm using graph API to create a virtual printer and create jobs for this printer. Thanks in advance

best response confirmed by HuongTD3 (New Contributor)
Solution

@HuongTD3 - job status can be updated using IPP APIs and following IPP-INFRA spec. IPP APIs are typically targeted at printer hardware manufacturers.

Universal Print documentation can be found at OEM Universal Print Device Development Overview - Universal Print | Microsoft Docs.

 

Cái này phải dùng module IPP Infra nhé bạn.