Forum Discussion

hungnq39's avatar
hungnq39
Copper Contributor
Apr 21, 2020

Universal Print Create Print Job Memtype Properties

Hello everyone, I am currently using the Universal Print Create Print Job API and am having a problem with the memType property of PrintDocument.

 

I tried the values like application/pdf and application/msword but the server returned the code 415 and the message "Unsupported document-format: application/pdf"

 

This is document 

My Dummy Data 

 

And This is Response after I call API 

 


Please tell me which attribute is valid to be able to create printJob

4 Replies

  • hungnq39's avatar
    hungnq39
    Copper Contributor

    hungnq39 
    Hello guys, Hi everyone, I have found the answer to my problem, which is using the mimeType: application / oxps attribute. If you have the same problem, use it. The problem will be solved.

    • Jimmy_Wu's avatar
      Jimmy_Wu
      Former Employee

      hungnq39, if you enable the Document Conversion feature for the tenant, you can then send PDF format document to the service.

       

      HTH,

      Jimmy

      • hungnq39's avatar
        hungnq39
        Copper Contributor

        Jimmy_Wu 
        Thank, 😄 I will try. Can print job with another type oxps or pdf ? 

Resources