Changeset 2200

Show
Ignore:
Timestamp:
04/12/05 10:29:26 (20 years ago)
Author:
jerome
Message:

Added PJL code for sleep mode, thanks to Rong-En Fan

Files:
1 modified

Legend:

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

    r2198 r2200  
    178178                    "10023" : "Printing", 
    179179                    "35078" : "Powersave Mode",         # 10000 is ALSO powersave !!! 
     180                    "40000" : "Sleep Mode",             # Standby 
    180181                  } 
    181182class PJLAccounter : 
     
    258259            self.retrievePJLValues() 
    259260            idle_flag = 0 
    260             if self.printerStatus in ('10000', '10001', '35078') : 
     261            if self.printerStatus in ('10000', '10001', '35078', '40000') : 
    261262                idle_flag = 1 
    262263            if idle_flag :