root / pykota / trunk / openoffice / README @ 1325

Revision 1325, 3.3 kB (checked in by jalet, 20 years ago)

More info for OpenOffice?.org usage

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Id$
2
3PyKota - Print Quota for CUPS
4
5(c) 2003-2004 Jerome Alet <alet@librelogiciel.com>
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.
10
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.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
19
20====================================================================
21
22This directory contains some screenshots of direct access to PyKota's
23database through OpenOffice.org
24
25Since it works but I don't know OpenOffice enough to do something nice
26with it, I've added these screenshots and here's a small howto below.
27For people interested in a more complete howto, please see :
28http://kandalaya.org/download/oo-pgsql.html
29
30PyKota + PostgreSQL + OpenOffice.org HowTO :
31--------------------------------------------
32
33        - Install and configure :
34       
35          godbcconfig
36          gtkodbcconfig0
37          iodbc
38          libiodbc2
39          odbc-postgresql
40          odbcinst1
41          unixodbc
42         
43        - Within gODBCConfig, add the PostgreSQL driver by
44          filling the Configure Driver form :
45         
46                   Name : PostgreSQL
47            Description : PostgreSQL
48                 Driver : /usr/lib/postgresql/psqlodbc.so
49                  Setup : /usr/lib/odbc/libodbcpsqlS.so
50              FileUsage : 1
51       
52          See gODBCConfig1.png
53         
54          Then create a system DSN (only the more important fields
55          are listed below) :
56         
57                   DSN : PyKota
58           Description : PostgreSQL access to PyKota
59                Driver : PostgreSQL
60              Database : pykota
61            Servername : your.postgresql.server.here
62              Username : pykotauser
63              Password : pykotauser's password
64                  Port : 5432
65                 
66          See gODBCConfig2.png
67         
68        - Then in OpenOffice.org add a new data source, selecting
69          ODBC in the Database Type field. By clicking on the URL
70          field's continuation dots, the PyKota DSN should appear.
71          Just select it and you're done.
72         
73          See ooo1.png
74         
75        - You can now create your own queries to the PyKota database,
76          and create any report you want.
77         
78          See ooo2.png
79         
80        - When you've got something nice, please contribute it back 
81          so we can learn from your experience.
82       
83WARNING :       
84
85        The above procedure doesn't work if you use the OpenLDAP backend
86        to store PyKota's datas. A similar procedure is probably possible
87        but last time I checked, the LDAP attributes accessible from
88        OpenOffice.org were limited to what one usually finds in
89        address books, unfortunately.
90====================================================================
Note: See TracBrowser for help on using the browser.