Changeset 1570 for pykota/trunk
- Timestamp:
- 06/26/04 16:14:31 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/NEWS
r1568 r1570 22 22 PyKota NEWS : 23 23 24 - 1.19alpha27 : 25 26 - The Python accelerator Psyco is now used if available 27 in the generic PDL parser : it speedups PCL5 parsing by 28 almost three times automagically. 29 24 30 - 1.19alpha26 : 25 31 -
pykota/trunk/pykota/pdlanalyzer.py
r1568 r1570 22 22 # 23 23 # $Log$ 24 # Revision 1.15 2004/06/26 14:14:31 jalet 25 # Now uses Psyco if it is available 26 # 24 27 # Revision 1.14 2004/06/25 09:50:28 jalet 25 28 # More debug info in PCLXL parser … … 438 441 """ 439 442 self.filename = filename 443 try : 444 import psyco 445 except ImportError : 446 pass # Psyco is not installed 447 else : 448 # Psyco is installed, tell it to compile 449 # the CPU intensive methods : PCL and PCLXL 450 # parsing will greatly benefit from this, 451 # for PostScript and PDF the difference is 452 # barely noticeable since they are already 453 # almost optimal, and much more speedy anyway. 454 psyco.bind(PostScriptAnalyzer.getJobSize) 455 psyco.bind(PDFAnalyzer.getJobSize) 456 psyco.bind(PCLAnalyzer.getJobSize) 457 psyco.bind(PCLXLAnalyzer.getJobSize) 440 458 441 459 def getJobSize(self) : -
pykota/trunk/pykota/version.py
r1564 r1570 22 22 # 23 23 24 __version__ = "1.19alpha2 6_unofficial"24 __version__ = "1.19alpha27_unofficial" 25 25 26 26 __doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng.""" -
pykota/trunk/README
r1561 r1570 225 225 if you plan to use OpenLDAP as the Quota Storage backend. 226 226 227 For performance reasons if you print in PCL format, it is strongly 228 suggested that you install the Python accelerator Psyco, available 229 at : 230 231 http://psyco.sourceforge.net 232 233 Installing Psyco is not mandatory, but it woud speedup PCL parsing 234 by almost 3 times. PostScript and PDF parsing can also benefit, 235 but in an almost unnoticeable manner since this part of the code 236 is already optimal. For PCL this is a completely different matter, 237 and if you install Psyco you will never regret it ! 238 227 239 You may also benefit from having the following tools installed to 228 240 deal with some printers :