如何确定打印机的用户基本页数限制?

iba*_*ran 5 cups quota printer

我使用的是 Debian Linux。我想确定打印机的用户基本页面限制,不同用户的不同页面限制。

我可以确定带有 CUPS 的打印机的页面限制,但无法确定单个用户的页面限制。

我怎样才能实现这个目标?

mkc*_*mkc 0

您可以将job-page-limit选项与打印配置命令-U username的选项一起使用。lpadmin

从联机帮助页:

-o job-page-limit=value
Sets the page limit for per-user quotas. 
The value is the integer number of pages that can be printed; 
double-sided pages are counted as two pages.
Run Code Online (Sandbox Code Playgroud)

要设置每天的限制,您可以使用job-quota-period

-o job-quota-period=value
Sets the accounting period for per-user quotas. 
The value is an integer number of seconds; 86,400 seconds are in one day.
Run Code Online (Sandbox Code Playgroud)