CUPS 将忽略设置的配额进行打印
我以两种方式设置配额(通过 lpadmin 和编辑 Printers.conf),但似乎都不起作用(我确实重新启动了守护进程),但打印请求仍然被授予,没有错误。 出了什么问题?(我运行的是 ubuntu linux 9.04)
I set the quotas both ways(though lpadmin and by editing printers.conf) and neither seem to work(i did restart the daemon) but print requests are still granted with no error.
What is wrong?(i am running ubuntu linux 9.04)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您没有提供
lpadmin
命令的详细记录,或者对 printers.conf 文件进行了哪些操作,那么除了推测之外别无他法。你做的。 (另请注意,不建议直接编辑 printers.conf,除非您在cupsd
停止时执行此操作。)CUPS 的配额对我来说确实有效。但是,最后一个超过配额阈值的作业将始终开始打印,因为 CUPS 仅在开始处理作业文件之后才知道其页数,而不是事先...
There is no way to do anything else but speculation if you don't provide a detailed record of what exactly your
lpadmin
command was, or what manipulation of the printers.conf file you made. (Also note, that direct editing of printers.conf is not recommended unless you do it whilecupsd
is stopped.)CUPS' quotas do work for me. However, the last job crossing the quota threshold will always start printing, since CUPS does know about its number of pages only after starting to process the jobfile, not beforehand...