I'm developing a google chrome extension using npm ipp, I'm able to connect to some printers and retrieve it's attributes as well as send print jobs to them.
The problem with the XEROX Versalink C405 is that whenever I try to retrieve the printer attributes I'm getting a 406 (Not Acceptable) error. However, I'm able to retrieve the printer attributes and send a print job just fine if I run my nodejs script from the MacOS console... I wonder what's this about, the response header has this:
So if I just enable TLS/1.2 in the printer I get 406 Not Acceptable when I request the https url. This is the complete response header:
Cache-Control: no-cache Connection: close Content-Length: 103 Content-Type: text/html Date: Fri, 15 Nov 2019 07:06:39 GMT Pragma: no-cache
This is the request header:
Accept: */* Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Connection: keep-alive Content-Length: 890 Content-Type: application/ipp Host: [printerip] Origin: chrome-extension://[extensionid] Sec-Fetch-Mode: cors Sec-Fetch-Site: cross-site User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
If I change the content-type of the request header, I get a bad request which I think that's because I'm sending in the request Payload the serialized IPP command...
Thank you for taking the time to check this out.
If you have not already resolved this issue, we suggest you search our online knowledgebase for this product: VersaLink C405.
Alternatively, you can visit our Contact Us page for other support options.