Changeset 266

Show
Ignore:
Timestamp:
09/19/05 13:48:28 (19 years ago)
Author:
jerome
Message:

Improved PCLXL parser.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/pclxl.py

    r258 r266  
    510510            # to decrease the total number of pages in this case. 
    511511            page = self.pages.get(pnum, self.pages.get(1, { "copies" : 1, "mediasize" : "Default" })) 
    512             pjlstuff = self.escapedStuff.get(pnum, []) 
     512            pjlstuff = self.escapedStuff.get(pnum, self.escapedStuff.get(0, [])) 
    513513            if pjlstuff : 
    514514                pjlparser = pjl.PJLParser("".join(pjlstuff))