__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<HTML>
<!-- SECTION: Getting Started -->
<HEAD>
<TITLE>Printer Accounting Basics</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="../cups-printable.css">
</HEAD>
<BODY>
<H1 CLASS="title">Printer Accounting Basics</H1>
<P>CUPS supports a variety of printer accounting schemes. Aside from the
built-in <A HREF="#QUOTAS">quota</A> and <A HREF="#PAGELOG">page logging</A>
support, there are several third-party solutions that can be found online.</P>
<H2 CLASS="title"><A NAME="QUOTAS">Quota Support</A></H2>
<P>CUPS supports page and size-based quotas for each printer.
The quotas are tracked individually for each user, but a single set of
limits applies to all users for a particular printer. For example, you
can limit every user to 5 pages per day on an expensive printer, but
you cannot limit every user except Johnny.</P>
<P>The <CODE>job-k-limit</CODE>, <CODE>job-page-limit</CODE>, and <CODE>job-quota-period</CODE>
options determine whether and how quotas are enforced for a printer.
The <CODE>job-quota-period</CODE> option determines the time interval for
quota tracking. The interval is expressed in seconds, so a day is
86,400, a week is 604,800, and a month is 2,592,000 seconds. The
<CODE>job-k-limit</CODE> option specifies the job size limit in kilobytes. The
<CODE>job-page-limit</CODE> option specifies the number of pages limit.</P>
<P>For quotas to be enforced, the period and at least one of the limits
must be set to a non-zero value. The following options will enable
weekly quotas with the given size and page count limits:</P>
<PRE CLASS="command">
<KBD>/usr/sbin/lpadmin -p <I>printer</I> -o job-quota-period=604800 \
-o job-k-limit=1024 ENTER</KBD>
<KBD>/usr/sbin/lpadmin -p <I>printer</I> -o job-quota-period=604800 \
-o job-page-limit=100 ENTER</KBD>
</PRE>
<P>Or, you can combine all three options on the same line.</P>
<P>While there is no way to query the current quota state for a particular
user, any application can request a list of jobs for a user and printer that
can be used to easily determine that information.</P>
<H2 CLASS="title"><A NAME="PAGELOG">Page Logging</A></H2>
<P>CUPS can log every page that is printed on a system to the <VAR><A HREF="man-cupsd-logs.html">page_log</A></VAR> file. Page logging must be enabled by setting the <CODE>PageLogFormat</CODE> directive in the <VAR><A HREF="man-cupsd.conf.html">cupsd.conf</A></VAR> file and is only available for drivers that provide page accounting information, typically all PostScript and CUPS raster devices. Raw queues and queues using third-party solutions such as Foomatic generally do not have useful page accounting information available.</P>
</BODY>
</HTML>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| accounting.html | File | 2.63 KB | 0644 |
|
| admin.html | File | 11.66 KB | 0644 |
|
| api-admin.html | File | 16.9 KB | 0644 |
|
| api-filter.html | File | 57.25 KB | 0644 |
|
| api-ppd.html | File | 84.68 KB | 0644 |
|
| cgi.html | File | 2.12 KB | 0644 |
|
| cupspm.html | File | 434.33 KB | 0644 |
|
| encryption.html | File | 4.21 KB | 0644 |
|
| firewalls.html | File | 3.94 KB | 0644 |
|
| glossary.html | File | 2.66 KB | 0644 |
|
| kerberos.html | File | 4.58 KB | 0644 |
|
| license.html | File | 11.78 KB | 0644 |
|
| man-backend.html | File | 9.71 KB | 0644 |
|
| man-cancel.html | File | 2.83 KB | 0644 |
|
| man-classes.conf.html | File | 1.5 KB | 0644 |
|
| man-client.conf.html | File | 7.04 KB | 0644 |
|
| man-cups-config.html | File | 3.52 KB | 0644 |
|
| man-cups-files.conf.html | File | 13.7 KB | 0644 |
|
| man-cups-lpd.html | File | 4.66 KB | 0644 |
|
| man-cups-snmp.html | File | 2.96 KB | 0644 |
|
| man-cups.html | File | 8.2 KB | 0644 |
|
| man-cupsaccept.html | File | 2.71 KB | 0644 |
|
| man-cupsd-helper.html | File | 3.05 KB | 0644 |
|
| man-cupsd-logs.html | File | 9.93 KB | 0644 |
|
| man-cupsd.conf.html | File | 39.76 KB | 0644 |
|
| man-cupsd.html | File | 3.76 KB | 0644 |
|
| man-cupsenable.html | File | 3.2 KB | 0644 |
|
| man-cupstestppd.html | File | 4.94 KB | 0644 |
|
| man-filter.html | File | 11.7 KB | 0644 |
|
| man-ippevepcl.html | File | 1.94 KB | 0644 |
|
| man-ippeveprinter.html | File | 10.03 KB | 0644 |
|
| man-ippfind.html | File | 9.77 KB | 0644 |
|
| man-ipptool.html | File | 7.67 KB | 0644 |
|
| man-ipptoolfile.html | File | 30.11 KB | 0644 |
|
| man-lp.html | File | 7.82 KB | 0644 |
|
| man-lpadmin.html | File | 10.65 KB | 0644 |
|
| man-lpc.html | File | 2.52 KB | 0644 |
|
| man-lpinfo.html | File | 3.8 KB | 0644 |
|
| man-lpmove.html | File | 2.12 KB | 0644 |
|
| man-lpoptions.html | File | 4.36 KB | 0644 |
|
| man-lpq.html | File | 2.24 KB | 0644 |
|
| man-lpr.html | File | 6.43 KB | 0644 |
|
| man-lprm.html | File | 2.35 KB | 0644 |
|
| man-lpstat.html | File | 4.83 KB | 0644 |
|
| man-mime.convs.html | File | 2.89 KB | 0644 |
|
| man-mime.types.html | File | 5.84 KB | 0644 |
|
| man-notifier.html | File | 1.49 KB | 0644 |
|
| man-ppdc.html | File | 3.78 KB | 0644 |
|
| man-ppdhtml.html | File | 2.11 KB | 0644 |
|
| man-ppdi.html | File | 2.27 KB | 0644 |
|
| man-ppdmerge.html | File | 2.03 KB | 0644 |
|
| man-ppdpo.html | File | 2.33 KB | 0644 |
|
| man-printers.conf.html | File | 1.58 KB | 0644 |
|
| man-subscriptions.conf.html | File | 1.61 KB | 0644 |
|
| network.html | File | 18.56 KB | 0644 |
|
| options.html | File | 16.42 KB | 0644 |
|
| overview.html | File | 3.4 KB | 0644 |
|
| policies.html | File | 21.25 KB | 0644 |
|
| postscript-driver.html | File | 20.54 KB | 0644 |
|
| ppd-compiler.html | File | 42.33 KB | 0644 |
|
| raster-driver.html | File | 17.61 KB | 0644 |
|
| ref-ppdcfile.html | File | 69.29 KB | 0644 |
|
| security.html | File | 4.44 KB | 0644 |
|
| sharing.html | File | 4.47 KB | 0644 |
|
| spec-banner.html | File | 4.08 KB | 0644 |
|
| spec-command.html | File | 6.12 KB | 0644 |
|
| spec-design.html | File | 11.61 KB | 0644 |
|
| spec-ipp.html | File | 65.45 KB | 0644 |
|
| spec-ppd.html | File | 86.95 KB | 0644 |
|
| spec-raster.html | File | 23.34 KB | 0644 |
|
| spec-stp.html | File | 3.79 KB | 0644 |
|
| translation.html | File | 24.32 KB | 0644 |
|