root / pykota / trunk / README @ 2470

Revision 2470, 28.1 kB (checked in by jerome, 19 years ago)

Improved the list of features (and with amazing ones at that !)
;-)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
RevLine 
[695]1# $Id$
2
[952]3PyKota - Print Quota for CUPS and LPRng
[695]4
[1257]5(c) 2003-2004 Jerome Alet <alet@librelogiciel.com>
[873]6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
[695]10
[873]11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14GNU General Public License for more details.
[695]15
[873]16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
[2303]18Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
[873]19
[761]20====================================================================
[695]21
[1052]22READ SPECIAL LICENSING AND REDISTRIBUTION TERMS IN THE FILE 'LICENSE'
[761]23
24====================================================================
25
[1154]26PyKota features :
27-----------------
[695]28
[2051]29    Free Software :
30   
31        - Licensed under the terms of the GNU General Public License.
32       
33    Commercially Supported :   
34   
35        - Support Contracts are available from http://www.librelogiciel.com/techsupport/
36       
[1154]37    Operating systems :
38   
39        - Any Unix-like system as print server.
40           
41        - Any operating system as client.
42           
43    Printing systems :
44   
[1283]45        - Supports both CUPS and LPRng as the printing system.
[1561]46       
[1154]47    Databases :
48   
49        - Supports PostgreSQL as the Quota Storage backend.
[1283]50          Complete database creation script in SQL is included.
[1043]51       
[1823]52        - Supports any LDAP server as the Quota Storage backend.
[1475]53          Complete LDAP schema and sample empty tree are included.
[1160]54          Plugging PyKota into your existing LDAP infrastructure
55          is really easy thanks to PyKota's great configurability.
[2051]56         
57        - The print jobs history can be stored in any database 
58          of your choice (or in plain text files) if needed.
[1160]59           
[1154]60    Printers :       
61   
[1475]62        - Hardware or Software accounting methods are completely
63          configurable.
64         
[1154]65        - Supports any printer which can report its internal
[1475]66          page counter. Can ask printers for their internal
[1561]67          page counter via SNMP, Netatalk, PJL, PS, or any
68          other way.
[1475]69          This is completely configurable.
[1154]70         
[1701]71        - Supports DSC compliant and binary PostScript, PDF, PCL5 (up to),
[2345]72          PCLXL (aka PCL6), ESC/P2, DVI, TIFF, OpenOffice.org Writer and
[2348]73          OpenOffice.org Impress printers (or virtual printers) natively
74          (through the direct use of pkpgcounter's code) for software
75          accounting methods. More formats to come.
[2350]76         
77        - Supports any other Page Description Language for which you 
78          have a parser which can be scripted.
[1154]79           
80    Quota systems :       
81   
[1260]82        - Supports printers and printers groups quotas.
[739]83       
[1260]84        - Supports users and users groups quotas.
85       
[1154]86        - Supports page quotas.
87          Page quotas can be set differently on a per printer
88          and per user/group basis.
[739]89       
[1154]90        - Supports account balance quotas in any currency.
91          Account balance quotas can be set on a per user
92          basis. The account balance is shared amongst
[1561]93          all printers. The history of payments (positive
94          or negative credits to an user account) is kept.
[980]95         
[2151]96        - Supports high granularity periodic print quotas : down
97          to one minute intervals if needed.
98       
[1610]99        - Page quotas and account balance can be set/reset
[1154]100          independantly.
101         
[2067]102        - Page quotas can be set on a per user or per group basis
103          for a particular printer.
[1154]104         
105        - Price per page and per job can be set differently 
106          on any printer.
[794]107       
[1154]108        - Low level of page quota or account balance are
109          configurable.
[739]110         
[1154]111        - Both soft and hard limit with configurable grace delay 
112          can be set for page quota.
[900]113         
[2470]114        - Both soft and hard limits can be increased or decreased at will. 
115       
[1154]116        - Possibility to disable quota enforcement for any user
117          or group, while still keeping page accounting.
[1928]118         
[2067]119        - Each user can have an overcharging (or undercharging) factor, 
120          which is applied whenever PyKota computes the cost of a
121          print job.
122         
[2391]123        - Specific pages and credits counters can be defined per billing code,
124          and can be reset independantly of the printing history.
[2470]125         
126        - Supports a passthrough mode for printers, which doesn't modify 
127          users quota when they print.
128         
129        - Supports a maximum number of pages per job, configurable for each 
130          printer.
131         
132        - Each user can be completely forbidden to print, independantly from
133          other users.
134         
135        - A transparent printing mode is supported for users, in which
136          their quota is not modified when they print.
137         
[1154]138    Administration :       
139   
[2470]140        - Almost turn-key solution, with the help of the pkturnkey command
141          line tool for database initialization and initial configuration.
142         
[2067]143        - Powerful delegation of administrative priviledges.
144       
[1154]145        - Powerful administration tools can be used to
146          automate setting or resetting of quotas or
147          account balances at specific intervals.
[925]148         
[1154]149        - Administration tools can modify several users, 
[2051]150          groups, or printers at once with the use of
151          powerful wildcard characters.
[925]152         
[1154]153        - Account balances can be set, incremented, or 
[1580]154          decremented. History of payments is kept.
[1153]155         
[2067]156        - Number of pages used can be set, incremented, or 
157          decremented.
158         
[1273]159        - Both printers and users can be automatically added on
160          first print in a completely configurable way.
[1154]161         
162        - Quota report generator available either from the 
163          command line or in any web browser.
164          The web-based quota report generator can be
165          user/password protected.
166         
167        - Print quote generator can tell users how much 
168          a print job will cost them in advance.
169         
170        - Policy with regard to unregistered users can   
171          be configured for each printer to either deny
172          printing, allow printing, or delegate the
173          decision to any external tool.
174         
175        - Warning and error messages can be automatically 
[2051]176          sent via email or via any other mean to the administrator,
177          the user, both, or none.
[1154]178         
179        - Warning and error messages' content is completely
180          configurable.
181         
182        - Configuration can be changed without needing to 
183          restart the printing system.
[739]184       
[1154]185        - Complete print job history is kept. This can be
186          disabled if needed.
187         
188        - Automated low quota or balance remainder can be
189          scheduled regularly or launched manually.
190         
[2067]191        - Starting and Ending personalized dynamic banners can be
192          generated on the fly, and accounted for or not, depending
193          on some configuration settings.
194          Banners can still be enabled even if the print job is denied.
195          NB : Banners are a CUPS only feature for now.
196         
[2349]197        - Duplicate print jobs can be forbidden automatically. The decision
[2351]198          can be left to any script to decide this on a per job basis.
[2067]199         
[2394]200        - Username and billing code can be overwritten at printing time,
201          to allow people to login as guest users and print as authenticated
202          users, for example.
203         
[1744]204        - Powerful data dumper to export datas to other
[1804]205          software (spreadsheets for example). Actually
206          supported formats are :
[1744]207         
[1804]208            - Comma separated values ;
209           
210            - Semicolon separated values ;
211           
212            - Tab separated values ;
213           
214            - XML.
[2048]215           
216            - CUPS' page_log format, to easily interface in
217              real time with third party apps like phpPrintAnalyzer
218              and similar tools.
[1804]219         
[1155]220    User Interface :         
221   
[1154]222        - All the command line tools accept the -h | --help
223          command line option which prints all the available
224          options and show usage examples.
[1155]225         
226        - Completely internationalized. Actually supports the 
[2119]227          English, French, Spanish, Portuguese, Brazilian, Swedish,
[2048]228          Thai, Greek, German, Italian, Norwegian (Bokm�, Turkish
229          and traditional Chinese languages.
[1891]230          More to come.
[2048]231         
[2243]232        - Web enabled print quota monitor, data dumper, and quote
[2153]233          generator.
[2048]234       
[2049]235        - An On Screen Display X-Window print quota monitor is included.
[2048]236       
[2051]237        - An email gateway to allow users to retrieve their print quota
238          information by sending an email message to a dedicated address
239          is included.
240       
[2049]241        - A cross-platform print quota monitor will soon be available
[2048]242          as an purchaseable add-on.
[2049]243         
244        - Third party web based management tools are available.
[1154]245
246====================================================================
247       
[739]248Planned features are described in the TODO file.
249
[1507]250Actually two (or an infinity of) page accounting methods are
[980]251implemented :
[695]252
[1475]253  - The 'hardware' method consists in querying the printer (via SNMP
[1181]254    or Netatalk or any other method of your choice) for its total pages
[1186]255    counter.
[1600]256    This is done both at the beginning and at the end of a
[1186]257    print job. The counters difference is then immediately used to
258    decrease the user's account balance or increase his quota usage.
259   
[1475]260  - The 'software' method consists in delegating the computation of the
[980]261    job's size in number of pages to any external command of your choice.
262    The command can read the job's data from its standard input and MUST
[1186]263    output the job's size on its standard output. Changes to the user
[2345]264    account are reported immediately.
[980]265   
[2345]266    PyKota featured an internal software accounting method which handles
267    several Page Description Languages : DSC compliant and binary PostScript,
268    PDF, PCLXL (aka PCL6), PCL3/4/5, ESC/P2, DVI, TIFF, OpenOffice.org Writer
269    and OpenOffice.org Impress. This software is now distributed separately
270    as 'pkpgcounter', and not included anymore in PyKota, so you must now
271    download and install it before running PyKota.
272   
[1600]273PyKota is known to work fine with most laser printers, either with
274software accounting, or with hardware accounting if the printer
275supports this.
[724]276
[695]277============================================================
278
[2001]279SUPPORT CONTRACTS:
280==================
281
282  You can now purchase 8x5x365@NextBusinessDay Technical
[2126]283  Support Contracts from us. The yearly fee is computed with 
284  the following formula :
[2001]285
286  (100.0 * NbPrintServers) + (2.5 * NbPrinters) + (0.04 * NbUsers) EUROS.
287 
[2234]288  This fee includes the VAT, a free subscription to official 
289  PyKota packages, and the latest documentation on paper.
[2001]290
291  Please send an email to alet@librelogiciel.com if you're
[2126]292  interested in purchasing such a contract.   
[2001]293
[2126]294  Remember that purchasing a support contract for Free Software like PyKota
295  is a great way to show your appreciation for the work already being done
296  on this project, and will help to improve this software in the future.
297
[2001]298============================================================
299
[695]300INSTALLATION:
301=============
302
[1186]303NB :
304====
[887]305
[1397]306  You may learn more about PyKota, if it fits your own organization,
307  its internal working, and some potential performance drawbacks and
[2054]308  how to avoid them, in a document created by Ryan Suarez at :
[1397]309 
[2005]310    http://archive.macosxlabs.org/forum/webcrossing_archive/documentation/Pykota_and_CUPS/Pykota_and_CUPS.html
[1034]311
[1651]312  You may also find the following document interesting :
313 
314    http://es.tldp.org/Tutoriales/doc-openldap-samba-cups-python/
315   
316  This document, written in Spanish by Sergio Gonzalez Gonzalez, 
317  describes the integration of PyKota into an OpenLDAP + Samba
318  + CUPS installation. Even for people who can't read spanish
319  this document is really interesting, and contains lots of
320  screenshots.
321 
[1951]322  Finally, SuSe users may find the following document to best describe
323  how to install PyKota on their favorite distribution. It's a Spanish
324  document written by Dennis Romero :
325 
326    http://www.cvr.espol.edu.ec/people/dennis/Pykota1.19-SuSE9.1.pdf
327 
328 
[714]329Prerequisite :
330--------------
331   
332  You need to have the following tools installed on the CUPS Server :
333 
[1886]334    - CUPS (http://www.cups.org) or LPRng (http://www.lprng.com)
335    - Python v2.1 or above (http://www.python.org)
336    - eGenix' mxDateTime Python extension (http://www.egenix.com)
[2345]337    - The pkpgcounter command line tool, version 1.56 or higher. This
338      tool is now mandatory for PyKota to work.
339      (http://www.librelogiciel.com/software/)
[1771]340    - The JAXML Python module to be able to dump datas in the XML format.
[1886]341      (http://www.librelogiciel.com/software/)
[1771]342    - The Python-SNMP module to query printers for their page counter.
[1965]343      (http://pysnmp.sourceforge.net).
[2426]344      IMPORTANT : version 3.4.4 (or 3.4.3 or 3.4.2) is REQUIRED.
345      Versions 2.x or 4.x won't work for now.
[1771]346    - The Python-OSD module to use the graphical print quota reminder.
[2189]347      (http://repose.cx/pyosd/)
[1771]348    - SNMP tools (specifically the snmpget command) if you prefer to
349      use your own script to request query printers.
[2189]350      (http://www.net-snmp.org)
[919]351    - Netatalk (specifically the pap command) if you plan to
352      request your printer's lifetime page counter via AppleTalk.
[1886]353      (http://netatalk.sourceforge.net)
[1927]354    - The ReportLab Python module (http://www.reportlab.org) if you want 
355      to have PyKota generate nice banners for you.
356    - The Python Imaging Library (aka PIL) module
357      (http://www.pythonware.com/downloads) if you want to have PyKota
358      generate nice banners for you.
[1043]359    - PostgreSQL's PygreSQL Python extension and the PostgreSQL client
360      libraries if you plan to use PostgreSQL as the Quota Storage
361      backend.
[1886]362      (http://www.postgresql.org and http://www.pygreql.org)
[1043]363 or     
364    - python-ldap Python module and the OpenLDAP client libraries 
[1823]365      if you plan to use an LDAP server as the Quota Storage backend.
[1886]366      (http://www.openldap.org and http://python-ldap.sourceforge.net)
[714]367   
[1771]368  On Intel i386 architecture, and for performance reasons, it is
369  strongly suggested that you install the Python accelerator Psyco,
370  available at :
[1570]371 
372      http://psyco.sourceforge.net
373     
[1571]374  Under Debian :   
375 
376      $ apt-get install python-psyco
377     
378  Other architectures may be supported as well in the future, check   
[1600]379  this on Psyco's website.
[1571]380 
[1578]381  Installing Psyco is not mandatory, but it will speedup PCL5 parsing
[1570]382  by almost 3 times. PostScript and PDF parsing can also benefit,
383  but in an almost unnoticeable manner since this part of the code
[1575]384  is already optimal. For PCL5 this is a completely different matter,
[1570]385  and if you install Psyco you will never regret it !
[1600]386  Same remark applies for PCL6 (aka PCLXL) : the parser is completely
387  different, but the performance gain with Psyco is impressive.
[1570]388 
[1186]389  You may also benefit from having the following tools installed to
390  deal with some printers :
391 
392    - npadmin
393    - netcat
394    - ghostscript
395   
[714]396  You need to have the following tools installed on the Quota Storage 
397  Server :
398 
[1886]399    - PostgreSQL (http://www.postgresql.org)
[714]400   
[1043]401  or 
402 
[1886]403    - OpenLDAP, or any other LDAP server (http://www.openldap.org)
[1043]404   
[1086]405NB :   
406
407  PygreSQL must be linked with the PostgreSQL client libraries on
408  the Print Server. The PostgreSQL client libraries' version must
409  match the PostgreSQL version used on the Quota Storage Server.
[714]410 
[1043]411or 
412
[1086]413  python-ldap must be linked with the OpenLDAP client libraries on the
[1823]414  Print Server. The OpenLDAP client libraries' version should match the
415  OpenLDAP version used on the Quota Storage Server, if applicable.
[1043]416 
[714]417  This list of prerequisite software may change in the future, when
418  PyKota will support more functionnalities you will be given
419  alternatives.
420 
[952]421  Of course the Print Server and the Quota Storage Server can be the
[851]422  very same machine if you've got a tiny network, or you can have
[952]423  multiple Print Servers all storing their quotas on the same Quota
[851]424  Storage Server if you've got a bigger network.
425 
[1886]426Hint : 
427------
428
429  - The Debian GNU/Linux distribution is to our knowledge the
430    easiest distribution to install PyKota on, because all
431    of PyKota dependencies are already included, excepted
432    for the PySNMP (http://pysnmp.sourceforge.net) module
[2345]433    and the pkpgcounter utility which for now have to be downloaded
434    and installed separately.
[1886]435
[714]436Then :   
437------
438 
[2135]439Download the latest PyKota version from the Subversion tree :
[695]440
[2135]441    $ svn co svn://svn.librelogiciel.com/pykota/trunk pykota
[695]442
[1906]443You can now check if the dependencies are correct by typing :
[695]444
[2135]445    $ python checkdeps.py
[1906]446   
[2234]447    An availability report for all the software needed by PyKota
448    will be displayed : you'll have to install the missing
449    software if you want PyKota to work correctly.
450   
[1906]451To install the software, just type :
452
[2135]453    $ python setup.py install
[695]454
455You may need to be logged in with sufficient privileges (e.g. root)
456
[1960]457Create a system user for PyKota :
458
[2135]459    $ adduser --system --group --home /etc/pykota --gecos PyKota pykota
[1960]460   
461Put the user your printing system is run as in the pykota system group :
462
[2135]463    $ adduser lp pykota
[1960]464   
465    NB : on our system, the CUPS printing system runs as system user 'lp'.
466    Please adapt this to your own system.
467
[695]468Go to the initscripts subdirectory of PyKota's sources, and choose
[1600]469the appropriate storage backend for your configuration. Read carefully
[695]470the associated README file and execute the initialization script
[878]471to create an empty PyKota Storage. Upgrade scripts may be
[2269]472provided as well. NB : if you use PostgreSQL, a good way to
473make PyKota work first time is to modify PostgreSQL's pg_hba.conf
474to allow the 'trust' database connection mode. However once PyKota
475works it is HIGHLY RECOMMENDED TO CHANGE THIS TO A MORE SECURE
476VALUE.
[695]477
[1186]478Copy the conf/pykota.conf.sample and  conf/pykotadmin.conf.sample
[1107]479sample configuration files to /etc/pykota/pykota.conf and
[1905]480/etc/pykota/pykotadmin.conf 
481The installation script usually copies these files into /usr/share/pykota
[1198]482
[1979]483NB : You can move PyKota's configuration files elsewhere, they will
484be searched first in user pykota's home directory.
485
[1905]486You need to adapt these files to your own needs. Especially you may
487have to create sections named after your own printers, and change
488the administrator's email address which by default is
489root@localhost. Read and try to understand these two very well
490commented files, so that you'll encounter less problems later.
491
[1198]492Also be sure to double check that commands that query printers
[1186]493for their internal page counter work from the command line
494before using them in PyKota's configuration.
[695]495
[1186]496The rest of the installation depends on your printing system :
497
[1185]498  - CUPS Printing System :
[952]499 
[1185]500    Once and for all :
[952]501   
[1185]502        Create a symbolic link to the cupspykota backend
503        in CUPS's backend directory :
504       
505          $ cd /usr/lib/cups/backend
[1345]506          $ ln -s /usr/share/pykota/cupspykota cupspykota
[1185]507         
508        Restart CUPS so that the new backend can be detected.
509       
510          $ /etc/init.d/cupsys restart
511         
[1600]512        or :   
513     
[1979]514          $ /etc/rc.d/init.d/cupsys restart
[1600]515         
516        or any similar command depending on your operating system. 
517         
[1185]518    For new printers :
[952]519   
[1185]520        Go to CUPS management interface (http://localhost:631)
521        and choose the appropriate PyKota managed device depending
522        on the type of printer you use. For example, if your
523        printer is waiting on :
524       
[1354]525            socket://myprinter.example.com:9100
[1185]526           
527        Then choose :   
528       
[1354]529            cupspykota:socket://myprinter.example.com:9100
[1185]530           
531        Configure your printer as usual.   
532       
[1186]533        Now double check /etc/pykota/pykota.conf
[1600]534       
535        You should manually create a section named after the
[1402]536        printer you've just added, unless you have set
537        all options globally.
[1600]538       
[2468]539        The new pkturnkey command can help you with correct settings
[1408]540        for your printers, but don't rely on it because it is still
[2468]541        experimental work. To have pkturnkey give you some hints
542        about what to put into pykota.conf, just use its --doconf
543        command line switch :
[1186]544       
[2468]545          $ pkturnkey --doconf
[1600]546       
[2468]547        pkturnkey will try to tell you what is the best accounting
[1600]548        method for each printer and will print some lines you'll
549        just have to copy&paste in the appropriate sections in
550        /etc/pykota/pykota.conf
551       
[2468]552        For more informations about what pkturnkey can do for you,
553        see pkturnkey's manual page or use the --help command
554        line switch :
555       
556          $ pkturnkey --help | less
557       
[1185]558        That's all.
[952]559   
[1185]560    For existing printers :
561   
[1186]562        If you had already installed a version of PyKota earlier
563        than 1.16alpha7, then remove the *cupsFilter lines in your
[1979]564        PPD files for each already managed printer. Each
[1186]565        line to remove is of the form :
[1185]566       
[1345]567          *cupsFilter: "application/vnd.cups-postscript 0 /usr/share/pykota/pykota"
[1185]568       
[1345]569        This means that each time the pstops filter will be executed, it will
570        pass the job's data through the pykota filter which is present in
571        /usr/share/pykota
572       
[1185]573        Don't touch anything else, especially any other *cupsFilter line.
[1186]574        Then save each of these files.
[1185]575       
576        Then, the easiest is to directly modify the DeviceURI lines
577        in /etc/cups/printers.conf, you just have to put
578        'cupspykota:' in front of what is already on these lines.
579        For example, replace :
580   
[1354]581            DeviceURI socket://myprinter.example.com:9100
[1185]582       
583        with :   
584   
[1354]585            DeviceURI cupspykota:socket://myprinter.example.com:9100
[1345]586           
587        or :   
[1185]588       
[1354]589            DeviceURI cupspykota://socket://myprinter.example.com:9100
[1345]590       
[1185]591        Save the file and restart CUPS.
[1600]592       
[2470]593        Here too, you may find it interesting to use the pkturnkey command as
[1600]594        described above to help with manual configuration of the file
595        /etc/pykota/pykota.conf
[695]596
[1185]597  - LPRng Printing System :
[952]598 
[1600]599    For each printer on which you want to use PyKota :
600   
601        Modify the printer's entry in /etc/printcap : you have to add
602        the three following lines :
603       
[1612]604          :achk=true:\
[1600]605          :as=/usr/share/pykota/lprngpykota:\
606          :ae=/usr/share/pykota/lprngpykota:\
607         
608        This will tell LPRng to activate accounting, and use the lprngpykota
609        accounting filter both at the start and at the end of printing.
610       
611    When all modifications are done, just save the /etc/printcap file and   
612    restart LPRng :
613   
614          $ /etc/init.d/lprng restart
615         
616        or :   
[1500]617     
[1600]618          $ /etc/rc.d/init.d/lprng restart
619         
620        or any similar command depending on your operating system. 
621       
[1186]622Now you can begin to populate the PyKota's database with printers,
623users and groups :
[952]624 
[716]625Add printers and users to the quota system and set their quota values :
[695]626
[2470]627You can either use pkturnkey, or do the same things manually by
628using the pkprinters and edpykota command line tools :
[1345]629
630    $ pkprinters --help
631   
632    will tell you how to create, manage or delete printers and
633    printers groups.
[1402]634   
635    $ pkprinters --add --charge 0.05 hp2100
636   
637    would add the printer named hp2100 with a price per page
638    of 0.05 unit.
[1345]639
[1402]640Now set quotas for users on this printer :     
641
[1086]642    $ edpykota --add -P hp2100 -S 40 -H 50 user1 ... userN
[724]643       
[725]644    launching edpykota without any argument or with the --help
645    command line option will show you all the possibilities.
[1086]646   
647    by default, each user is limited by "quota", this means that on
648    each printer he can have a different soft and hard limit.
649    You may want to limit the user by his account balance value,
[1107]650    in which case, the print quota is shared between all printers
[1086]651    instead of being different. To do this, use the following :
652   
653    $ edpykota --add -P hp2100 --limitby balance --balance 10 user1 ... userN
654   
655    This will put 10 $ (or Euros, PyKota doesn't care) on each user's account
656    balance, and tell PyKota to limit them by their account balance value.
657    Whenever they print on any printer, their account balance value is
658    decreased by an amount which depends on the particular price per page
659    and per job that you may have defined on the printer with edpykota's
660    --charge command line option.
[1107]661    Soft and Hard limits are not used if "--limitby balance" is used,
662    but you can define a "poorman"'s threshold in /etc/pykota/pykota.conf
663    to obtain a similar result (warning message when quota is low).
[695]664
[990]665Restart CUPS or LPRng, for example under Debian GNU/Linux systems :         
[695]666
[725]667    $ /etc/init.d/cupsys restart
[990]668   
669  or :
670 
671    $ /etc/init.d/lprng restart
[695]672       
673Your users now should be able to print but not exceed their
674printing quota.
675
[2234]676To see printer quota usage on printer hp2100, you can use :
[794]677
[2234]678    $ repykota --printer hp2100
[794]679   
680or :
681
682    $ repykota
683   
684    which will print quota usage for all users on all printers,
[2054]685    along with totals, if you are a PyKota Administator. If you are
[1107]686    a regular user, only your own quota report will be produced.
[794]687   
[1107]688Quota reports are also available remotely by using the CGI script
[1345]689printquota.cgi provided in the cgi-bin/ subdirectory. You can
690also use the CSS stylesheet present in the stylesheets/ subdirectory
[1402]691and put it at your web server's DocumentRoot, to benefit from a nicer
692look, especially quota violations will appear in different colors.
[990]693
[2262]694For additionnal security concerns, please give a look at the SECURITY
[980]695file which is part of this software.
[2234]696
697To diagnose a problem when something doesn't work as expected,
698please read the very first entry in the FAQ document.
[741]699           
[695]700============================================================
701
[1979]702Additionnal tools :
703-------------------
704
705Some people have developped tools around PyKota, and make
706them available under the GNU General Public License :
707
708  - Kanakorn Horsiritham developped phpPykotaAdmin which is
[2126]709    a web based database independant administrative GUI,
710    written in PHP.
[1979]711 
712      http://opensource.psu.ac.th/~kanakorn/mambo/
[2126]713     
714    He was also kind enough to write an installation guide 
715    in english for CUPS and PyKota with phpPykotaAdmin on Fedora
716    Core 3. You'll find this document on the same website.
717   
718    This great software currently at version 0.3 is a wonderful
719    basis for an administrative GUI since it only depends on
720    PyKota commands to be present to successfully manage
721    PyKota's database.
[1979]722 
723Additionnal software will be listed here when they will be 
724ready.
725
726============================================================
727
[958]728Mailing list :
729--------------
730
731  A mailing list is dedicated to Pykota, you can subscribe to it
732  or consult its archives at :
733 
734    http://cgi.librelogiciel.com/mailman/listinfo/pykota
735   
[1600]736  The mailing list is the preferred way to obtain support, because 
737  all members can help and can also benefit from the solutions
738  proposed by other members.
739 
740  Posts by non-members are usually rejected.
741 
742  The mailing list language is english and only english.
743   
[1181]744IRC :   
745-----
746
747  You can also chat with us :
748 
749        /server irc.freenode.net
750        /join #pykota
[1600]751       
752  Preferred language on this channel is english, but french     
753  is also accepted. Try to avoid exposing complex problems
754  in french because english speaking people on the channel
755  wouldn't benefit from the solutions.
756 
757  PyKota's main author is known as 'tamere' on IRC.
[1181]758   
[958]759============================================================
760   
[1107]761Please e-mail bugs to the mailing list at : pykota@librelogiciel.com
762or to the main author at : alet@librelogiciel.com (Jerome Alet)
Note: See TracBrowser for help on using the browser.