Changeset 249 for pkpgcounter

Show
Ignore:
Timestamp:
08/29/05 17:46:50 (19 years ago)
Author:
jerome
Message:

Improved PCL3/4/5 parser

Location:
pkpgcounter/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/NEWS

    r248 r249  
    2424  * 1.61 : 
    2525   
     26    - Improved PCL3/4/5 parser. 
     27     
    2628    - Better handling of the number of copies in the PostScript parser. 
    2729      Now the number can be different from page to page. 
  • pkpgcounter/trunk/pkpgpdls/pcl345.py

    r235 r249  
    324324                 
    325325             
    326         if pagecount == mediasourcecount == escstart :  
     326        if resets == ejects == mediasourcecount == mediasizecount == escstart == 1 : 
     327            pagecount = orientationcount 
     328        elif pagecount == mediasourcecount == escstart :  
    327329            pass        # should be OK. 
    328330        elif (not startgfx) and (not endgfx) :