root / pykota / trunk / bin / pkbanner @ 1909

Revision 1909, 1.5 kB (checked in by jalet, 19 years ago)

Added some TODO comments

  • 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/env python
2# -*- coding: ISO-8859-15 -*-
3
4# A banner generator for PyKota
5#
6# PyKota - Print Quotas for CUPS and LPRng
7#
8# (c) 2003-2004 Jerome Alet <alet@librelogiciel.com>
9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2 of the License, or
12# (at your option) any later version.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
22#
23# $Id$
24#
25# $Log$
26# Revision 1.2  2004/11/11 14:25:48  jalet
27# Added some TODO comments
28#
29# Revision 1.1  2004/11/10 22:48:47  jalet
30# Banner generator's skeleton added
31#
32#
33#
34
35import sys
36import os
37
38def getInfo(name) :
39    """Extracts some information from the environment."""
40    return os.environ.get(name, _("Unknown"))
41
42if __name__ == "__main__" :
43    # TODO : --pagesize, --supporturl, extract admin's email address from pykota.conf
44    # TODO : --logourl and/or --logofile : to put a nice logo on the banner page
45    # TODO : --papertray : to print banners on a different paper (colored for example)
46    pass
Note: See TracBrowser for help on using the browser.