root / pykota / trunk / cgi-bin / printquota.cgi @ 794

Revision 794, 0.8 kB (checked in by jalet, 21 years ago)

repykota cgi script added.
cleaner doc.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#! /usr/bin/python
2
3# PyKota Print Quota Reports generator
4#
5# PyKota - Print Quotas for CUPS
6#
7# (c) 2003 Jerome Alet <alet@librelogiciel.com>
8# You're welcome to redistribute this software under the
9# terms of the GNU General Public Licence version 2.0
10# or, at your option, any higher version.
11#
12# You can read the complete GNU GPL in the file COPYING
13# which should come along with this software, or visit
14# the Free Software Foundation's WEB site http://www.fsf.org
15#
16# $Id$
17#
18# $Log$
19# Revision 1.1  2003/02/10 13:41:38  jalet
20# repykota cgi script added.
21# cleaner doc.
22#
23
24import sys
25import os
26import cgi
27
28import jaxml
29
30x = jaxml.CGI_document()
31x.html()
32x._push()
33x.head()
34x.title("Print Quota Report")
35x._pop()
36
37x.h2("Print Quota Report")
38
39x.pre()
40
41out = os.popen("repykota")
42x._text(out.read())
43out.close()
44
45x._output()
Note: See TracBrowser for help on using the browser.