Changeset 1933 for pykota

Show
Ignore:
Timestamp:
11/17/04 00:23:40 (20 years ago)
Author:
jalet
Message:

Fixed internal PJL handling wrt the 35078 PowerSave? mode.

Location:
pykota/trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/CREDITS

    r1923 r1933  
    144144  - Klaus Ade Johnstad - SkoleLinux - Norwegian Bokm�translation 
    145145  - Matt Hyclak - Wrote the banner handling stuff. 
     146  - Wilson Roberto Afonso - Sent a patch for PJL. 
    146147 
    147148============================================================== 
  • pykota/trunk/NEWS

    r1923 r1933  
    2222PyKota NEWS : 
    2323 
     24    - 1.21alpha4 : 
     25     
     26        - Fixed job's data file detection code for LPRng. 
     27         
     28        - Fixed a problem with PJL and PowerSave mode,  
     29          thanks to Wilson Roberto Afonso. 
     30         
    2431    - 1.21alpha3 : 
    2532     
  • pykota/trunk/pykota/accounters/hardware.py

    r1896 r1933  
    2222# 
    2323# $Log$ 
     24# Revision 1.32  2004/11/16 23:23:40  jalet 
     25# Fixed internal PJL handling wrt the 35078 PowerSave mode. 
     26# 
    2427# Revision 1.31  2004/11/01 14:32:26  jalet 
    2528# Fix for unneeded out of band status in pjl_over_tcp/9100 
     
    239242                    "10005" : "Reset", 
    240243                    "10023" : "Printing", 
     244                    "35078" : "Powersave Mode",         # 10000 is ALSO powersave !!! 
    241245                  } 
    242246class PJLAccounter : 
     
    295299        while 1: 
    296300            self.retrievePJLValues() 
    297             if self.printerStatus in ('10000', '10001', '10023') : 
     301            if self.printerStatus in ('10000', '10001', '10023', '35078') : 
    298302                break 
    299303            self.parent.filter.logdebug(_("Waiting for printer %s to be idle or printing...") % self.parent.filter.printername) 
     
    306310            self.retrievePJLValues() 
    307311            idle_flag = 0 
    308             if self.printerStatus in ('10000', '10001',) : 
     312            if self.printerStatus in ('10000', '10001', '35078') : 
    309313                idle_flag = 1 
    310314            if idle_flag :     
  • pykota/trunk/pykota/version.py

    r1923 r1933  
    2222# 
    2323 
    24 __version__ = "1.21alpha3_unofficial" 
     24__version__ = "1.21alpha4_unofficial" 
    2525 
    2626__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""