Show
Ignore:
Timestamp:
11/03/07 11:09:17 (16 years ago)
Author:
jerome
Message:

Can now print again under limited circumstances.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/accounters/ink.py

    r3245 r3252  
    8888                    jobsize = len(pages) 
    8989                    try : 
    90                         if self.filter.InputFile is not None : 
     90                        if self.filter.Ticket.FileName is not None : 
    9191                            # when a filename is passed as an argument, the backend  
    9292                            # must generate the correct number of copies. 
    93                             jobsize *= self.filter.Copies 
    94                             self.inkUsage *= self.filter.Copies 
     93                            jobsize *= self.filter.Ticket.Copies 
     94                            self.inkUsage *= self.filter.Ticket.Copies 
    9595                    except AttributeError : # When not run from the cupspykota backend  
    9696                        pass