Show
Ignore:
Timestamp:
02/15/05 00:39:50 (19 years ago)
Author:
jalet
Message:

Introduces the new 'trustjobsize' directive to workaround some printers
generating unstable internal page counter values when queried through SNMP.

Files:
1 modified

Legend:

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

    r2054 r2062  
    603603#                else is not set. 
    604604# PYKOTAJOBSIZEBYTES : contains the job's size in bytes. Always available. 
    605 # PYKOTAPRECOMPUTEDJOBSIZE : contains the precomputed job's size (with enforcement: strict) 
    606 # PYKOTAPRECOMPUTEDJOBPRICE : contains the precomputed job's price (with enforcement: strict) 
     605# PYKOTAPRECOMPUTEDJOBSIZE : contains the precomputed job's size 
     606# PYKOTAPRECOMPUTEDJOBPRICE : contains the precomputed job's price 
    607607# PYKOTAJOBORIGINATINGHOSTNAME : contains the client's hostname if  
    608608#                                it is possible to retrieve it. 
     
    730730# enforcement : laxist 
    731731enforcement : strict 
     732 
     733# Should we trust the job size on this printer ? 
     734# 
     735# "yes" is the default, the jobsize, either computed 
     736# by the hardware or by software is trusted. 
     737# 
     738# ">N:precomputed" : uses the precomputed value if jobsize > N pages 
     739# ">N:25" : uses 25 if jobsize is >N pages 
     740# 
     741# General form : ">n:m" where n is a positive integer, and m is  
     742# either the word 'precomputed' or a positive integer. 
     743# The special form "yes" is also accepted and is the default. 
     744# 
     745# This directive can be set either globally or on a per printer 
     746# basis. Use this directive when hardware accounting for a particular 
     747# printer produces some glitches due to the printer returning  
     748# incorrect answers. 
     749# 
     750# NB : DON'T MODIFY THIS IF YOU DON'T NEED TO. THIS IS ONLY TO BE USED 
     751# AS A WORKAROUND FOR SOME PRINTERS. IT'S PROBABLY BETTER TO ALWAYS 
     752# SET THIS DIRECTIVE TO 'yes'. THIS DIRECTIVE WILL ONLY BE HONORED  
     753# IF PYKOTA DETECTS A DIFFERENCE BETWEEN THE PRECOMPUTED JOB SIZE 
     754# AND THE JOB SIZE AS COMPUTED BY PYKOTA EITHER USING HARDWARE OR 
     755# SOFTWARE. 
     756trustjobsize : yes