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

Split the driver and filter into separate binaries? (suggestion) #21

Closed
mounaiban opened this issue Mar 18, 2020 · 1 comment
Closed

Comments

@mounaiban
Copy link
Contributor

Correct me if I am wrong, but is rastertocapt both a CUPS filter and driver?

If this is so, would it be beneficial to have separate driver and filter binaries, like a rastertocapt filter that only handles conversion to the CAPT format, and a captdriver driver that controls the printer (e.g. start a new job) and reads its status (e.g. ink levels, out of paper, etc...)

I was thinking about how this might make debugging and maintenance easier.

This is just a suggestion, and might be a long-term goal, knowing how much work refactoring can be.

@agalakhov
Copy link
Owner

Unfortunately I had to combine them due to extreme weirdness of the CAPT protocol. This is the only printer I'm aware of that uses bidirectional communication all the time.

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

2 participants