always67 Posted October 20, 2022 Share Posted October 20, 2022 安装docker版的cups,打印机每次自动休眠后再开机,需要重启cups才能正常打印。 现在利用udev设置了‘mg2400.rules’mg2400.rules 内容很简单,就是检测插入USB,运行脚本rs重启cups的docker。 利用bash /root/rs的方式测试脚本是正常的,但是开关打印机并不能触发脚本是怎么回事? @ich777 do you have time to help me? Quote Link to comment
ich777 Posted October 20, 2022 Share Posted October 20, 2022 5 minutes ago, always67 said: @ich777 do you have time to help me? Sorry but this is not my container. I would recommend that you got to the support thread by clicking support (I think there is only a GitHub Issue tracker for support there): Maybe the maintainer from the container can help you, @ZappyZap (if this is the container that you installed). Quote Link to comment
Solution always67 Posted October 21, 2022 Author Solution Share Posted October 21, 2022 found the solution @ich777 1 Quote Link to comment
ZappyZap Posted October 24, 2022 Share Posted October 24, 2022 Great to see you found the solution .... even it seem you are not using the container i use. Quote Link to comment
always67 Posted October 24, 2022 Author Share Posted October 24, 2022 16 minutes ago, ZappyZap said: Great to see you found the solution .... even it seem you are not using the container i use. It's not which container that matters, it's how to restart the container when the printer is reconnected Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.