[cups.bugs] [HIGH] STR #3077: Unable to adjust job-quota-period, job-k-limit or job-page-limit

twaugh.redhat twaugh at redhat.com
Wed Jan 28 03:05:58 PST 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

None of the quota-related options, job-quota-period, job-k-limit, and
job-page-limit, can be set using lpadmin.

lpadmin -p printer -o job-quota-period=86400 -o job-k-limit=50

gives no error but /etc/cups/printers.conf is unchanged.  This seems to be
because cupsEncodeOptions2() finds a match for IPP_TAG_JOB for both
options, but lpadmin is trying to encode them as IPP_TAG_PRINTER -- as a
result they are both omitted from the IPP request.

Patch attached

Link: http://www.cups.org/str.php?L3077
Version: 1.3.9
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Quota-related-options-should-be-in-group-IPP_TAG_PRI.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20090128/59e3da7e/attachment.ksh>


More information about the cups mailing list