Changeset 1095 for pykota/trunk/conf

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.

Files:
1 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)