Changeset 2882 for pykota/trunk/bin/cupspykota
- Timestamp:
- 05/11/06 15:22:51 (19 years ago)
- Files:
-
- 1 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