Forum Discussion

imran80's avatar
imran80
Copper Contributor
May 05, 2022

Universal Printer inputBin selection

Input bin selection does not seem to be working for print jobs. I have tried several printers and print jobs seems to pick random bins even though I specify the inputBin. Below are request/responses from the calls to create the print job. Also attached is the screen shot from the printer job log that shows that Tray 2 was used even though Tray 1 is specified in the request.

 

POST https://graph.microsoft.com/v1.0/print/printers/[PRINTERID]/jobs

{"configuration":{"copies":1,"duplexMode":"flipOnLongEdge","inputBin":"tray-1","orientation":"landscape"}}

Response:

{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#print/printers('PRINTERID')/jobs/$entity","id":"168","createdDateTime":"2022-05-05T17:51:29Z","isFetchable":false,"redirectedFrom":null,"redirectedTo":null,"createdBy":{"id":"UniversalPrintUser@informasoftware.com","displayName":"Universal Print User","ipAddress":null,"userPrincipalName":"[REMOVED]","oDataType":null},"status":{"state":"paused","description":"The job is not a candidate for processing yet.","isAcquiredByPrinter":false,"details":["uploadPending"]},"configuration":{"quality":"medium","dpi":600,"feedOrientation":null,"orientation":"landscape","duplexMode":"flipOnLongEdge","copies":1,"colorMode":"grayscale","inputBin":"tray-1","outputBin":"auto","mediaSize":"North America Letter","mediaType":"auto","finishings":["none"],"pagesPerSheet":1,"multipageLayout":null,"collate":true,"scaling":null,"fitPdfToPage":null,"pageRanges":[],"margin":{"top":4230,"bottom":4230,"left":4230,"right":4230}},"documents@odata.context":"https://graph.microsoft.com/v1.0/$metadata#print/printers('PRINTERID')/jobs('168')/documents","documents":[{"id":"bd838404-59de-4897-8789-7f5c1db606c4","displayName":"","contentType":"","size":0}]}

 

Resources