[1430] | 1 | #! /usr/bin/env python |
---|
| 2 | # -*- coding: ISO-8859-15 -*- |
---|
| 3 | |
---|
| 4 | # pkpgcounter, a smart software page counter |
---|
| 5 | # |
---|
| 6 | # PyKota - Print Quotas for CUPS and LPRng |
---|
| 7 | # |
---|
[2028] | 8 | # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> |
---|
[1430] | 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$ |
---|
[2028] | 26 | # Revision 1.12 2005/01/17 08:44:24 jalet |
---|
| 27 | # Modified copyright years |
---|
| 28 | # |
---|
[1487] | 29 | # Revision 1.11 2004/05/21 20:40:07 jalet |
---|
| 30 | # All the code for pkpgcounter is now in pdlanalyzer.py |
---|
| 31 | # |
---|
[1482] | 32 | # Revision 1.10 2004/05/18 09:59:54 jalet |
---|
| 33 | # pkpgcounter is now just a wrapper around the PDLAnalyzer class |
---|
| 34 | # |
---|
[1463] | 35 | # Revision 1.9 2004/05/10 07:23:21 jalet |
---|
| 36 | # pykotme now uses pkpgcounter to compute the job's size. |
---|
| 37 | # |
---|
[1462] | 38 | # Revision 1.8 2004/05/08 15:12:23 jalet |
---|
| 39 | # Improved PCL6 support |
---|
| 40 | # |
---|
[1461] | 41 | # Revision 1.7 2004/05/07 23:08:21 jalet |
---|
| 42 | # Skeleton for PCLXL aka PCL6 |
---|
| 43 | # Added the "potential" fix for rastertoprinter's output |
---|
| 44 | # |
---|
[1456] | 45 | # Revision 1.6 2004/05/06 21:19:27 jalet |
---|
| 46 | # Doesn't exit anymore on the first nul byte |
---|
| 47 | # |
---|
[1451] | 48 | # Revision 1.5 2004/05/06 12:37:29 jalet |
---|
| 49 | # pkpgcounter : comments |
---|
| 50 | # pkprinters : when --add is used, existing printers are now skipped. |
---|
| 51 | # |
---|
[1449] | 52 | # Revision 1.4 2004/05/04 12:21:55 jalet |
---|
| 53 | # Now uses mmap in PCL mode |
---|
| 54 | # |
---|
[1448] | 55 | # Revision 1.3 2004/05/04 04:39:26 jalet |
---|
| 56 | # Better PCL support |
---|
| 57 | # |
---|
[1447] | 58 | # Revision 1.2 2004/05/04 03:14:26 jalet |
---|
| 59 | # fixed copy&paste problem in pkpgcounter |
---|
| 60 | # |
---|
[1430] | 61 | # Revision 1.1 2004/04/08 17:07:42 jalet |
---|
| 62 | # pkpgcounter added |
---|
| 63 | # |
---|
| 64 | # |
---|
| 65 | |
---|
[1482] | 66 | from pykota import pdlanalyzer |
---|
[1462] | 67 | |
---|
[1430] | 68 | if __name__ == "__main__" : |
---|
[1487] | 69 | pdlanalyzer.main() |
---|