Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demonstrate a sample server transport #30

Open
GladeDiviney opened this issue Sep 10, 2018 · 8 comments
Open

Demonstrate a sample server transport #30

GladeDiviney opened this issue Sep 10, 2018 · 8 comments

Comments

@GladeDiviney
Copy link
Collaborator

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

@vasilevich
Copy link

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

@LBoraz
Copy link

LBoraz commented Dec 2, 2019

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

@GladeDiviney
Copy link
Collaborator Author

GladeDiviney commented Dec 2, 2019

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

@b4n4n4p4nd4
Copy link

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?

@GladeDiviney
Copy link
Collaborator Author

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.

@wifiprintguy
Copy link

wifiprintguy commented Oct 21, 2020

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.

@b4n4n4p4nd4
Copy link

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.

@narendraomshiv
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants