Changeset 3115

Show
Ignore:
Timestamp:
12/03/06 11:50:20 (18 years ago)
Author:
jerome
Message:

Fixed some issues in the documentation.
Added the documentation for pkrefund.

Location:
pykota/trunk/docs
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/docs/installation.sgml

    r2943 r3115  
    3535    have to decompress and visit its archive, to do so just type the following commands : 
    3636    <screen> 
    37 jerome@nordine:~$ tar -zxf pykota-1.24_official.tar.gz     
    38 jerome@nordine:~$ cd pykota-1.24_official 
    39 jerome@nordine:~/pykota-1.24_official$ 
     37jerome@nordine:~$ tar -zxf pykota-1.25_official.tar.gz     
     38jerome@nordine:~$ cd pykota-1.25_official 
     39jerome@nordine:~/pykota-1.25_official$ 
    4040    </screen> 
    4141  </para> 
     
    160160        is waiting for your connections, you have to create the print quota database. 
    161161        To do so, you'll have to feed <application>PostgreSQL</application> with the 
    162         <filename>pykota-1.24_official/initscripts/postgresql/pykota-postgresql.sql</filename> file. 
     162        <filename>pykota-1.25_official/initscripts/postgresql/pykota-postgresql.sql</filename> file. 
    163163        This file will create a print quota database administrator in the <application>PostgreSQL</application> system, then create an empty 
    164164        print quota database and set some permissions on it. The print quota database administrator 
     
    197197        From a command line interpreter (i.e. shell), type the following commands : 
    198198        <screen> 
    199 jerome@nordine:~$ cd pykota-1.24_official/initscripts/postgresql 
    200 jerome@nordine:~/pykota-1.24_official/initscripts$ psql -h localhost -U postgres template1 
     199jerome@nordine:~$ cd pykota-1.25_official/initscripts/postgresql 
     200jerome@nordine:~/pykota-1.25_official/initscripts$ psql -h localhost -U postgres template1 
    201201Welcome to psql, the PostgreSQL interactive terminal. 
    202202 
     
    233233pykota=# ALTER USER pykotauser PASSWORD 'anotherpassword'; 
    234234pykota=# \q 
    235 jerome@nordine:~/pykota-1.24_official/initscripts/postgresql$ 
     235jerome@nordine:~/pykota-1.25_official/initscripts/postgresql$ 
    236236        </screen> 
    237237      </para> 
     
    261261       
    262262      <para> 
    263         For more details, please see <filename>initscripts/mysql/README.mysql</filename>. 
     263        For more details, please see <filename>initscripts/mysql/README.postgresql</filename>. 
    264264      </para> 
    265265       
     
    479479        is waiting for your connections, you have to create the print quota database. 
    480480        To do so, you'll have to feed <application>MySQL</application> with the 
    481         <filename>pykota-1.24_official/initscripts/mysql/pykota-mysql.sql</filename> file. 
     481        <filename>pykota-1.25_official/initscripts/mysql/pykota-mysql.sql</filename> file. 
    482482        This file will create an empty 
    483483        print quota database and set some permissions on it.  
     
    506506        From a command line interpreter (i.e. shell), type the following commands : 
    507507        <screen> 
    508 jerome@nordine:~$ cd pykota-1.24_official/initscripts/mysql 
    509 jerome@nordine:~/pykota-1.24_official/initscripts$ mysql &lt;pykota-mysql.sql 
     508jerome@nordine:~$ cd pykota-1.25_official/initscripts/mysql 
     509jerome@nordine:~/pykota-1.25_official/initscripts$ mysql &lt;pykota-mysql.sql 
    510510        </screen> 
    511511        <note> 
     
    642642        <listitem> 
    643643          <para> 
    644             <application>CUPS</application> version 1.1.14 or above. 
     644            <application>CUPS</application> version 1.1.14 or higher, version 1.2.4 or higher 
     645            is recommanded. 
    645646            You can download it from <ulink url="http://www.cups.org">http://www.cups.org</ulink> 
    646647          </para> 
     
    648649        <listitem> 
    649650          <para> 
    650             <application>Python</application> version 2.2 or above. 
     651            <application>Python</application> version 2.3 or higher. 
    651652            You can download it from <ulink url="http://www.python.org">http://www.python.org</ulink>. 
    652653            While <application>PyKota</application> itself will try to preserve compatibility 
    653             with <application>Python</application> version 2.2 for the near future, some <application>Python</application> 
     654            with <application>Python</application> version 2.3 for the near future, some <application>Python</application> 
    654655            modules which are needed by <application>PyKota</application> may require a more recent version 
    655656            of this language. 
     
    757758            the <command>snmpget</command> command. 
    758759            You can download this software from <ulink url="http://www.sourceforge.net/projects/net-snmp/">http://www.sourceforge.net/projects/net-snmp/</ulink>. 
    759             You only need this if you plan to query your printers for their internal page counter via SNMP. 
     760            You only need this if PyKota's internal SNMP accounting code doesn't work for your SNMP-aware 
     761            printers. 
    760762          </para> 
    761763        </listitem>   
     
    784786        <listitem> 
    785787          <para> 
    786             The <application>pysnmp</application> Python module version 3.4.2, or higher.  
     788            The <application>pysnmp</application> Python module version 3.4.2, or higher, version 4 is recommanded. 
    787789            You can download it from <ulink url="http://pysnmp.sourceforge.net">http://pysnmp.sourceforge.net</ulink>. 
    788790          </para> 
     
    815817          <para> 
    816818            The <application>pkpgcounter</application> Generic Page Description Language parser.  
    817             You can download it from <ulink url="http://www.pykota.com.com/software/pkpgcounter">http://www.pykota.com.com/software/pkpgcounter</ulink>. 
     819            You can download it from <ulink url="http://www.pykota.com.com/software/pkpgcounter">http://www.pykota.com/software/pkpgcounter</ulink>. 
    818820          </para> 
    819821        </listitem>   
     
    935937      to give the correct permissions to <application>PyKota</application>'s configuration files : 
    936938      <screen> 
    937 $ chown pykota.pykota ~pykota/pykota.conf       
     939$ chown -R pykota.pykota ~pykota/       
     940$ chmod 750 ~pykota/ 
    938941$ chmod 644 ~pykota/pykota.conf       
    939 $ chown pykota.pykota ~pykota/pykotadmin.conf       
    940942$ chmod 640 ~pykota/pykotadmin.conf       
    941943      </screen> 
     
    954956      On some systems, you may be able to strenghten permissions like this : 
    955957      <screen> 
    956 $ chown pykota.pykota ~pykota/pykota.conf       
     958$ chown -R pykota.pykota ~pykota/       
     959$ chmod 750 ~pykota/ 
    957960$ chmod 640 ~pykota/pykota.conf       
    958 $ chown pykota.pykota ~pykota/pykotadmin.conf       
    959961$ chmod 600 ~pykota/pykotadmin.conf       
    960962      </screen> 
     
    964966      And on other ones, you may need to relax them, and change the files' owner : 
    965967      <screen> 
     968$ chown pykota.pykota ~pykota/       
     969$ chmod 755 ~pykota/ 
    966970$ chown lp.pykota ~pykota/pykota.conf       
    967971$ chmod 640 ~pykota/pykota.conf       
     
    10291033       
    10301034      <para> 
    1031         If you use CUPS v1.2 or higher, it is recommended that you 
     1035        If you use CUPS v1.2 or higher, you must 
    10321036        also type the following command to allow the <command>cupspykota</command> 
    10331037        backend to correctly support other backends which must be run 
  • pykota/trunk/docs/pkinvoice.sgml

    r2836 r3115  
    1212  <para> 
    1313    You'll be allowed to optionally filter the data extraction based on starting and ending dates, which 
    14     defaults to the complete history, 
    15     and a set of usernames, which defaults to all users. 
     14    defaults to the complete history, user, printer, client hostname, etc... 
    1615  </para> 
    1716   
  • pykota/trunk/docs/pykota.sgml

    r2841 r3115  
    2020  <!entity PKNOTIFY system "pknotify.sgml"> 
    2121  <!entity PKINVOICE system "pkinvoice.sgml"> 
     22  <!entity PKREFUND system "pkrefund.sgml"> 
    2223  <!entity GNUGPL system "gnugpl.sgml"> 
    2324 
     
    145146  &PKINVOICE; 
    146147   
     148  &PKREFUND; 
     149   
    147150  &PKBANNER; 
    148151