Changeset 2882
- Timestamp:
- 05/11/06 15:22:51 (19 years ago)
- Location:
- pykota/trunk
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r2879 r2882 518 518 os.environ["PYKOTABALANCE"] = str(self.User.AccountBalance or 0.0) 519 519 os.environ["PYKOTALIFETIMEPAID"] = str(self.User.LifeTimePaid or 0.0) 520 os.environ["PYKOTAUSERDESCRIPTION"] = str(self.User.Description or "") 520 521 521 522 os.environ["PYKOTAPAGECOUNTER"] = str(self.UserPQuota.PageCounter or 0) … … 537 538 # printer is a member of 538 539 os.environ["PYKOTAPGROUPS"] = ",".join([p.Name for p in self.storage.getParentPrinters(self.Printer)]) 540 os.environ["PYKOTAPRINTERDESCRIPTION"] = str(self.Printer.Description or "") 541 os.environ["PYKOTAPRINTERMAXJOBSIZE"] = str(self.Printer.MaxJobSize or _("Unlimited")) 542 os.environ["PYKOTAPRINTERPASSTHROUGHMODE"] = (self.Printer.PassThrough and _("ON")) or _("OFF") 539 543 self.logdebug("Environment updated.") 540 544 -
pykota/trunk/conf/pykota.conf.sample
r2876 r2882 896 896 # PYKOTAREASON : if the job was denied or a warning needs to be issued, contains 897 897 # the message to send to the user. 898 # 899 898 # PYKOTAUSERDESCRIPTION : the user's textual description 899 # PYKOTAPRINTERDESCRIPTION : the printer's textual description 900 # PYKOTAPRINTERPASSTHROUGHMODE : the printer's passthrough mode 901 # PYKOTAPRINTERMAXJOBSIZE : the printer's maximal job size 902 # 900 903 901 904 -
pykota/trunk/NEWS
r2880 r2882 22 22 PyKota NEWS : 23 23 24 - 1.25alpha3 (2006-05-11) : 25 26 - Now exports more environment variables for the subprocesses. 27 24 28 - 1.25alpha2 (2006-05-03) : 25 29 -
pykota/trunk/pykota/version.py
r2877 r2882 22 22 # 23 23 24 __version__ = "1.25alpha 2_unofficial"24 __version__ = "1.25alpha3_unofficial" 25 25 26 26 __doc__ = "PyKota : a complete Printing Quota Solution for CUPS."