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

Implementation of the SANE_NET_CANCEL RPC request (RPC Code 8 of the SANE protocol) #7

Closed
sjamesr opened this issue Jan 4, 2014 · 3 comments

Comments

@sjamesr
Copy link
Owner

sjamesr commented Jan 4, 2014

From rr.m...@voila.fr on July 23, 2013 02:04:09

With my Plusteck OptiSlim M12 scanner, I need to send a cancel request to eject the page after acquiring image.
I pushed the implementation of this request in the clone rrmath-jfreesanewithcancel.
Only SaneDevice.java and SaneSession.java have been modified.

Original issue: http://code.google.com/p/jfreesane/issues/detail?id=7

@sjamesr
Copy link
Owner Author

sjamesr commented Jan 4, 2014

From s...@jdns.org on July 23, 2013 07:22:56

Excellent, thanks for the patch! Quite an omission because upon reading the sane API spec ( http://www.sane-project.org/html/doc013.html ):

"Once all desired frames have been acquired, function sane_cancel() must be called. This operation can also be called at any other time to cancel a pending operation. Note that sane_cancel() must be called even if the last read operation returned SANE_STATUS_EOF."

Will merge right away, thanks again.

@sjamesr
Copy link
Owner Author

sjamesr commented Jan 4, 2014

From rr.m...@voila.fr on July 24, 2013 00:53:29

Thank you very much.

@sjamesr
Copy link
Owner Author

sjamesr commented Jan 4, 2014

From s...@google.com on August 21, 2013 10:36:08

Status: Fixed

@sjamesr sjamesr closed this as completed Jan 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant