1 | # $Id$ |
---|
2 | |
---|
3 | PyKotIcon - Client side helper for PyKota |
---|
4 | |
---|
5 | (c) 2003, 2004, 2005, 2006 Jerome Alet <alet@librelogiciel.com> |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2 of the License, or |
---|
9 | (at your option) any later version. |
---|
10 | |
---|
11 | This program is distributed in the hope that it will be useful, |
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | GNU General Public License for more details. |
---|
15 | |
---|
16 | You should have received a copy of the GNU General Public License |
---|
17 | along with this program; if not, write to the Free Software |
---|
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
19 | |
---|
20 | ==================================================================== |
---|
21 | |
---|
22 | PyKotIcon is a cross-platform client-side helper for PyKota. |
---|
23 | |
---|
24 | It is meant to be launched whenever the user logs in, and stay in |
---|
25 | the taskbar (depending on the client operating system) until the |
---|
26 | user closes his session. |
---|
27 | |
---|
28 | It's icon represents a green dollar sign when the user is still allowed |
---|
29 | to print, and a red dollar sign when he is forbidden to print on at |
---|
30 | least one printer. |
---|
31 | |
---|
32 | INSTALLATION : |
---|
33 | -------------- |
---|
34 | |
---|
35 | on the client : |
---|
36 | |
---|
37 | $ python setup.py install |
---|
38 | $ pykoticon pykota_server_ip_address 7654 |
---|
39 | |
---|
40 | on the pykota server, in pykota.conf, just set : |
---|
41 | |
---|
42 | --- CUT --- |
---|
43 | overwrite_jobticket: /home/jerome/pykoticon/tests/test.py $PYKOTAJOBORIGINATINGHOSTNAME 7654 |
---|
44 | --- CUT --- |
---|
45 | |
---|
46 | NB : here we arbitrarily chose 7654 as the TCP port, please choose |
---|
47 | any unused port for testing. The TCP port on client and server's |
---|
48 | command line MUST be identical, however on the client (pykoticon) |
---|
49 | side, the first parameter to pykoticon MUST be the print server's ip |
---|
50 | address or hostname : this allows PyKotIcon to only accept requests |
---|
51 | coming from your print server. In the future it will be possible to |
---|
52 | do better filtering to allow several print servers for example. |
---|
53 | |
---|
54 | NB2 : You need wxPython for PyKotIcon to work. |
---|
55 | |
---|
56 | NB3 : Don't expect too much yet ! This release is for developpers only. |
---|
57 | |
---|
58 | ==================================================================== |
---|
59 | |
---|
60 | Please e-mail bugs to the PyKota mailing list at : pykota@librelogiciel.com |
---|
61 | or to the main author at : alet@librelogiciel.com (Jerome Alet) |
---|