jipp icon indicating copy to clipboard operation
jipp copied to clipboard

Demonstrate a sample server transport

Open GladeDiviney opened this issue 7 years ago • 8 comments

Currently jsample only supports client behavior. Show server behavior as well for a complete end-to-end demonstration.

GladeDiviney avatar Sep 10 '18 16:09 GladeDiviney

+1 please add server demo so that we can implement an IPP server as well. Thank you!

vasilevich avatar Nov 19 '19 07:11 vasilevich

please improve the examples, they don't even compile...

LBoraz avatar Dec 02 '19 13:12 LBoraz

Hi @LBoraz it builds fine on Circle. See the first badge at https://github.com/HPInc/jipp/blob/master/README.md.

GladeDiviney avatar Dec 02 '19 17:12 GladeDiviney

This is exactly what I'm looking for. What would the server-side of the jsample exchange look like, not even dictating what the printer does with the print-job handler, but at least getting a grip on what the minimum extent of protocol to be handled has to look like in order to say it's IPP compliant. Is this planned, or would anyone have suggestions on how to start with jipp-core to make this?

b4n4n4p4nd4 avatar Oct 21 '20 15:10 b4n4n4p4nd4

https://tools.ietf.org/html/rfc8011 is the place to start. There is also the IPP Everywhere Implementor's Guide at https://ftp.pwg.org/pub/pwg/candidates/cs-ippig20-20150821-5100.19.pdf.

Building a "minimal" server is much more difficult than building a client, because a server needs to handle a very wide variety of possible client behaviors.

GladeDiviney avatar Oct 21 '20 16:10 GladeDiviney

The PWG also has several GitHub projects (https://github.com/istopwg) including the "ippsample" project (https://github.com/istopwg/ippsample) that provide sample IPP Client, Proxy and Printer implementations.

wifiprintguy avatar Oct 21 '20 16:10 wifiprintguy

Building a "minimal" server is much more difficult than building a client, because a server needs to handle a very wide variety of possible client behaviors.

Thanks for the refs. I've been digging into ippeveprinter (seems to be the newer replacement for ippsample's server) to see how to tap into the attributes and the file transfered and hand them off to my own program. I know I can add a script under the -c option, but was hoping to tap directly into the handler for the post to get a more performant system without having to touch the hdd.

b4n4n4p4nd4 avatar Oct 21 '20 18:10 b4n4n4p4nd4

Please let me know if you have implemented server code as well and if its ready. Client code i have used and its working perfectly , can we have similar code?

narendraomshiv avatar Mar 30 '22 10:03 narendraomshiv