-
Notifications
You must be signed in to change notification settings - Fork 42
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
Comments
+1 please add server demo so that we can implement an IPP server as well. |
please improve the examples, they don't even compile... |
Hi @LBoraz it builds fine on Circle. See the first badge at https://github.com/HPInc/jipp/blob/master/README.md. |
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? |
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. |
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. |
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. |
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? |
Currently jsample only supports client behavior. Show server behavior as well for a complete end-to-end demonstration.
The text was updated successfully, but these errors were encountered: