Changeset 1095

Show
Ignore:
Timestamp:
07/23/03 18:51:32 (21 years ago)
Author:
jalet
Message:

waitprinter.sh is now included to prevent PyKota from asking the
printer's internal page counter while a job is still being printer.

Location:
pykota/trunk
Files:
1 added
5 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/conf/pykota.conf.sample

    r1094 r1095  
    255255# WARNING : In any case, when using an external requester, please test the command line outside 
    256256#           of PyKota before. This will save you some headaches in case it doesn't work as expected. 
    257 requester: external(/usr/bin/snmpget -v1 -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
     257# 
     258# The waitprinter.sh is there to wait until the printer is idle again. 
     259# This should prevent a job to be sent to the printer while another one is  
     260# not yet finished (not all pages are printed, but the complete job is in  
     261# the printer) 
     262requester: external(/usr/bin/waitprinter.sh %(printer)s && /usr/bin/snmpget -v1 -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
    258263 
    259264# Default policy for inexistant users (e.g. root) 
  • pykota/trunk/MANIFEST.in

    r1057 r1095  
    1 include COPYING TODO NEWS CREDITS SECURITY MANIFEST.in clean.sh bin/pykota bin/edpykota bin/warnpykota bin/repykota bin/pykotme bin/README 
     1include COPYING TODO NEWS CREDITS SECURITY MANIFEST.in clean.sh bin/pykota bin/edpykota bin/warnpykota bin/repykota bin/pykotme bin/waitprinter.sh bin/README  
    22recursive-include po README *.po *.mo *.pot 
    33recursive-include man README *.1 
  • pykota/trunk/NEWS

    r1089 r1095  
    2222PyKota NEWS : 
    2323 
     24    - 1.14alpha8 : 
     25     
     26        - bin/waitprinter.sh is now included to wait for 
     27          SNMP enabled printers to be idle again before 
     28          asking for their internal page counter. 
     29          See sample configuration file for details. 
     30           
    2431    - 1.14alpha7 : 
    2532     
  • pykota/trunk/pykota/version.py

    r1089 r1095  
    2121# 
    2222 
    23 __version__ = "1.14alpha7_unofficial" 
     23__version__ = "1.14alpha8_unofficial" 
    2424 
    2525__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng.""" 
  • pykota/trunk/setup.py

    r1087 r1095  
    2323# 
    2424# $Log$ 
     25# Revision 1.20  2003/07/23 16:51:32  jalet 
     26# waitprinter.sh is now included to prevent PyKota from asking the 
     27# printer's internal page counter while a job is still being printer. 
     28# 
    2529# Revision 1.19  2003/07/16 21:53:07  jalet 
    2630# Really big modifications wrt new configuration file's location and content. 
     
    287291      url = "http://www.librelogiciel.com/software/", 
    288292      packages = [ "pykota", "pykota.storages", "pykota.requesters", "pykota.loggers", "pykota.accounters", "pykota.reporters" ], 
    289       scripts = [ "bin/pykota", "bin/edpykota", "bin/repykota", "bin/warnpykota", "bin/pykotme" ], 
     293      scripts = [ "bin/pykota", "bin/edpykota", "bin/repykota", "bin/warnpykota", "bin/pykotme", "bin/waitprinter.sh" ], 
    290294      data_files = data_files) 
    291295