printserver-esp8266 icon indicating copy to clipboard operation
printserver-esp8266 copied to clipboard

problemas to connect to de print server

Open Dr-Gandalf opened this issue 7 years ago • 3 comments

I am using the only way windows does not complains fo the host name

image

but the serial monitors reports this.

Received IPP request; Version: 0x0100, OperationId: 0x000B, RequestId: 0x0000000B Unsupported IPP version Closing connection!

Dr-Gandalf avatar Jul 05 '18 22:07 Dr-Gandalf

Thank you for reporting. This is probably due to the fact that the IPP implementation is not fully compliant with the RFC and thus not guaranteed to work with any IPP client - I mostly tested with CUPS on Linux as client, but never on Windows.

I'll see if I can manage to do some testing with Windows and keep this issue updated.

gianluca-nitti avatar Jul 09 '18 20:07 gianluca-nitti

It's because windows tells that the ipp version supported is 1.0 and the project supports the version 1.1. https://github.com/gianluca-nitti/printserver-esp8266/blob/afc98315b0b02709cbbfb3e4fd371374cd6d98c1/printserver/IppStream.h#L26 I just changed #define IPP_SUPPORTED_VERSION 0x0101 by #define IPP_SUPPORTED_VERSION 0x0100 and the error is gone

luc-git avatar Jan 31 '24 20:01 luc-git

@Dr-Gandalf

luc-git avatar Jan 31 '24 20:01 luc-git