Changeset 3285 for pykota/trunk/conf/pykota.conf.sample
- Timestamp:
- 01/09/08 00:17:47 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/conf/pykota.conf.sample
r3275 r3285 600 600 # languages, but may occasionally fail for some printer drivers. 601 601 # You can however use any other command, provided it can read the datas to 602 # parse from its standard input, and prints a single integer on its standard 602 # parse from the file pointed to by the PYKOTADATAFILE environment 603 # variable, and prints a single integer on its standard 603 604 # output, representing the number of pages in the print job. 604 605 # Software accounting unfortunately may overcharge users in case of paper … … 647 648 # accounter : hardware(/opt/local/net-snmp/bin/snmpwalk -v 1 -Cc -c public %(printer)s | grep mib-2.43.10.2.1.4.1.1 | cut -d " " -f4) 648 649 # accounter : hardware(/opt/local/net-snmp/bin/snmpwalk -v 1 -Cc -c public -Ov %(printer)s | grep Counter32 | tail -2 | head -1 | cut -d " " -f2) 649 # accounter : software(/usr/bin/pkpgcounter )650 # accounter : software(/usr/bin/pkpgcounter "$PYKOTADATAFILE") 650 651 # accounter : software() 651 652 # accounter : ink(cmyk, 150) … … 718 719 # reasons. If unset, "software()" is assumed. If you use your own script, 719 720 # ensure that it only prints the job's number of pages (or an estimation 720 # of it) on its standard output. 721 # of it) on its standard output, and that it reads the print job's datas 722 # from the file pointed to by the PYKOTADATAFILE environment variable. 721 723 # 722 724 # You may want to define for example 'preaccounter : software(/bin/echo 1)'