#! /usr/bin/env python # -*- coding: ISO-8859-15 -*- # pkpgcounter, a smart software page counter # # PyKota - Print Quotas for CUPS and LPRng # # (c) 2003-2004 Jerome Alet # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # # $Id$ # # $Log$ # Revision 1.11 2004/05/21 20:40:07 jalet # All the code for pkpgcounter is now in pdlanalyzer.py # # Revision 1.10 2004/05/18 09:59:54 jalet # pkpgcounter is now just a wrapper around the PDLAnalyzer class # # Revision 1.9 2004/05/10 07:23:21 jalet # pykotme now uses pkpgcounter to compute the job's size. # # Revision 1.8 2004/05/08 15:12:23 jalet # Improved PCL6 support # # Revision 1.7 2004/05/07 23:08:21 jalet # Skeleton for PCLXL aka PCL6 # Added the "potential" fix for rastertoprinter's output # # Revision 1.6 2004/05/06 21:19:27 jalet # Doesn't exit anymore on the first nul byte # # Revision 1.5 2004/05/06 12:37:29 jalet # pkpgcounter : comments # pkprinters : when --add is used, existing printers are now skipped. # # Revision 1.4 2004/05/04 12:21:55 jalet # Now uses mmap in PCL mode # # Revision 1.3 2004/05/04 04:39:26 jalet # Better PCL support # # Revision 1.2 2004/05/04 03:14:26 jalet # fixed copy&paste problem in pkpgcounter # # Revision 1.1 2004/04/08 17:07:42 jalet # pkpgcounter added # # from pykota import pdlanalyzer if __name__ == "__main__" : pdlanalyzer.main()