-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support external CUPS server #366
Comments
Added to #5 |
My original description did not fully show the importance of supporting external CUPS servers. We have deployed a Raspberry PI next to the printer and connected the printer and RPI with a USB cable. The CUPS server is running on the RPI, so Mars needs to connect to that CUPS server. We have made a secure connection between the RPI and Mars's PHP FPM (with something similar to a VPN). The changes had two main goals. One of them was to make our systems more resilient against attacks. A less important one was that from now on printers without networking capabilities would be also a great option for the dormitory. Similarly to #364, the changes that were done in the deployment branch seem to allow these settings. And I also plan to make the proper changes on the upstream development branch. Unfortunately, I did not have enough time to do it yet. Therefore, I would like to reopen this issue for a potential second round of evaluation. |
It is sometimes better to have a CUPS server that is located on a different server. (Like when the CUPS server is running nearby the printer on a different floor.) There is currently no supported method of setting the IP address and port of the CUPS server for commands
lp
andlpstat
in mars. It could be beneficial to add an additional field in .env which allows arbitrary command line arguments to be inserted in front of the-d
and-W
directive respectively.The text was updated successfully, but these errors were encountered: