Forum Discussion

dennishaseloffalemo's avatar
dennishaseloffalemo
Copper Contributor
Jun 07, 2020

Fetch jobs for printer

Hello everyone,

 

we`ve managed to register and fetch a device/access token described at https://docs.microsoft.com/en-us/universal-print/hardware/universal-print-oem-printer-registration. The next step would be to use these tokens to fetch jobs which were sent to this printer. Do i have to use the "normal" graph API endpoints to fetch these jobs? Or is there another way to fetch the jobs for the registered printer?

 

Thanks

Dennis 

  • dennishaseloffalemo 

    Hi, Dennis.

    Universal Print is built on the standard IPP protocol from PWG. Please consult the protocol documentation for information about communication between printers and cloud service endpoints.

    To find out to what cloud service end points you need to send requests, use the printService resource in the Graph.

    • FilipProchazka's avatar
      FilipProchazka
      Copper Contributor

      Hi Rani_Abdellatif 

      From endpoint beta/print/services I am able to get this address:
      "displayName": "Microsoft Universal Print IPP Service",
      "uri": "https://print.print.microsoft.com"
      I suppose that's the address where IPP Infrastructure Printer is located and where I should be able to connect via IPP Proxy and fetch jobs for the printer.
      But whatever I send, I get 200 response all the time:
      Hello world! Version: 26226866
      Azure Storage: AccountName=up1northeurope
      I tried https, also ipps with 631 port. I tried with device_token also without. Tried with a correct IPP POST request but It looks like I'm reaching wrong endpoint.
      Is there any documentation for this endpoint besides IPP-INFRA specification?

Resources