Changeset 2884

Show
Ignore:
Timestamp:
05/11/06 16:28:12 (18 years ago)
Author:
jerome
Message:

Exports two additionnal environment variables to subprocesses.

Location:
pykota/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r2883 r2884  
    579579        os.environ["PYKOTAPRINTERMAXJOBSIZE"] = str(self.Printer.MaxJobSize or _("Unlimited")) 
    580580        os.environ["PYKOTAPRINTERPASSTHROUGHMODE"] = (self.Printer.PassThrough and _("ON")) or _("OFF") 
     581        os.environ["PYKOTAPRICEPERPAGE"] = str(self.Printer.PricePerPage or 0) 
     582        os.environ["PYKOTAPRICEPERJOB"] = str(self.Printer.PricePerJob or 0) 
    581583        self.logdebug("Environment updated.") 
    582584         
  • pykota/trunk/conf/pykota.conf.sample

    r2882 r2884  
    900900# PYKOTAPRINTERPASSTHROUGHMODE : the printer's passthrough mode 
    901901# PYKOTAPRINTERMAXJOBSIZE : the printer's maximal job size 
     902# PYKOTAPRICEPERJOB : the printer's price per job 
     903# PYKOTAPRICEPERPAGE : the printer's price per page 
    902904# 
    903905