Changeset 2884 for pykota/trunk/bin

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

Exports two additionnal environment variables to subprocesses.

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