Show
Ignore:
Timestamp:
01/08/04 17:24:49 (20 years ago)
Author:
jalet
Message:

edpykota now supports adding printers to printer groups.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storage.py

    r1257 r1258  
    2222# 
    2323# $Log$ 
     24# Revision 1.34  2004/01/08 16:24:49  jalet 
     25# edpykota now supports adding printers to printer groups. 
     26# 
    2427# Revision 1.33  2004/01/08 14:10:32  jalet 
    2528# Copyright year changed. 
     
    239242        self.parent.writeJobNew(self, user, jobid, pagecounter, action, jobsize, jobprice, filename, title, copies, options) 
    240243        # TODO : update LastJob object ? Probably not needed. 
     244         
     245    def addPrinterToGroup(self, printer) :     
     246        """Adds a printer to a printer group.""" 
     247        if printer not in self.parent.getParentPrinters(self) : 
     248            self.parent.writePrinterToGroup(self, printer) 
    241249         
    242250    def setPrices(self, priceperpage = None, priceperjob = None) :