Changeset 3306 for pykota/trunk/bin
- Timestamp:
- 01/30/08 13:56:28 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r3300 r3306 580 580 setenv("PYKOTAPGROUPS", ",".join([p.Name for p in self.storage.getParentPrinters(self.Printer)]), self.charset) 581 581 setenv("PYKOTAPRINTERDESCRIPTION", self.Printer.Description or "", self.charset) 582 setenv("PYKOTAPRINTERMAXJOBSIZE", str(self.Printer.MaxJobSize or _("Unlimited")), self.charset)582 setenv("PYKOTAPRINTERMAXJOBSIZE", ((self.Printer.MaxJobSize is None) and _("Unlimited")) or str(self.Printer.MaxJobSize), self.charset) 583 583 setenv("PYKOTAPRINTERPASSTHROUGHMODE", (self.Printer.PassThrough and _("ON")) or _("OFF"), self.charset) 584 584 setenv("PYKOTAPRICEPERPAGE", str(self.Printer.PricePerPage or 0), self.charset)