| 479 | def setPrinterMaxJobSize(self, printer, maxjobsize) : |
| 480 | """Write the printer's maxjobsize attribute.""" |
| 481 | self.doModify("UPDATE printers SET maxjobsize=%s WHERE id=%s" % (self.doQuote(maxjobsize), self.doQuote(printer.ident))) |
| 482 | |
| 483 | def setPrinterPassThroughMode(self, printer, passthrough) : |
| 484 | """Write the printer's passthrough attribute.""" |
| 485 | self.doModify("UPDATE printers SET passthrough=%s WHERE id=%s" % (self.doQuote((passthrough and "t") or "f"), self.doQuote(printer.ident))) |
| 486 | |