Show
Ignore:
Timestamp:
01/12/04 15:35:02 (20 years ago)
Author:
jalet
Message:

Printing history added to CGI script.

Files:
1 modified

Legend:

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

    r1269 r1274  
    2222# 
    2323# $Log$ 
     24# Revision 1.37  2004/01/12 14:35:01  jalet 
     25# Printing history added to CGI script. 
     26# 
    2427# Revision 1.36  2004/01/10 09:44:02  jalet 
    2528# Fixed potential accuracy problem if a user printed on several printers at 
     
    338341        self.HardLimit = hardlimit 
    339342         
    340 class StorageLastJob(StorageObject) : 
     343class StorageJob(StorageObject) : 
    341344    """Printer's Last Job class.""" 
    342     def __init__(self, parent, printer) : 
     345    def __init__(self, parent) : 
    343346        StorageObject.__init__(self, parent) 
    344         self.Printer = printer 
     347        self.User = None 
     348        self.Printer = None 
    345349        self.JobId = None 
    346         self.User = None 
    347350        self.PrinterPageCounter = None 
    348351        self.JobSize = None 
     
    355358        self.JobOptions = None 
    356359         
     360class StorageLastJob(StorageJob) : 
     361    """Printer's Last Job class.""" 
     362    def __init__(self, parent, printer) : 
     363        StorageJob.__init__(self, parent) 
     364        self.Printer = printer 
     365         
    357366    def setSize(self, jobsize) : 
    358367        """Sets the last job's size.""" 
     
    361370        self.JobSize = jobsize 
    362371        self.JobPrice = jobprice 
    363      
     372         
    364373class BaseStorage : 
    365374    def __init__(self, pykotatool) :