Changeset 1544 for pykota/trunk
- Timestamp:
- 06/18/04 12:09:05 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/NEWS
r1543 r1544 24 24 - 1.19alpha22 : 25 25 26 - Ensures that the file pointer for job's data is 27 reset to the start of the job's datas after the 28 job's size pre-computation phase. 29 26 30 - Improved PostScript detection code for bad drivers 27 31 which don't correctly switch languages between PJL -
pykota/trunk/pykota/pdlanalyzer.py
r1543 r1544 22 22 # 23 23 # $Log$ 24 # Revision 1.5 2004/06/18 10:09:05 jalet 25 # Resets file pointer to start of file in all cases 26 # 24 27 # Revision 1.4 2004/06/18 06:16:14 jalet 25 28 # Fixes PostScript detection code for incorrect drivers … … 403 406 if self.mustclose : 404 407 self.infile.close() 408 else : 409 # if we don't have to close the file, then 410 # ensure the file pointer is reset to the 411 # start of the file in case the process wants 412 # to read the file again. 413 try : 414 self.infile.seek(0) 415 except : 416 pass # probably stdin, which is not seekable 405 417 406 418 def isPostScript(self, data) :