Changeset 1587

Show
Ignore:
Timestamp:
07/03/04 10:17:03 (20 years ago)
Author:
jalet
Message:

Small fix for Perl locale problem in pagecount.pl

Files:
1 modified

Legend:

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

    r1575 r1587  
    256256#         the same as above, but should work on more printers :  
    257257#          
    258 #             accounter: hardware(/usr/share/pykota/pagecount.pl %(printer)s 9100) 
    259 #          
     258#             accounter: hardware(LC_ALL=C /usr/share/pykota/pagecount.pl %(printer)s 9100) 
     259#          
     260#         NB : the LC_ALL=C is used because sometimes Perl can correctly set locale and is verbose 
     261#              about it, causing PyKota to miss the correct answer. 
     262# 
    260263#         WARNING : In any case, when using an hardware accounter, please test the command line outside 
    261264#                   of PyKota before. This will save you some headaches in case it doesn't work as expected.