Changeset 321

Show
Ignore:
Timestamp:
02/15/06 14:00:46 (19 years ago)
Author:
jerome
Message:

Launches gs less often when acroread is used to print.
v1.78 is out.

Location:
pkpgcounter/trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/man/pkpgcounter.1

    r318 r321  
    1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35. 
     1.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36. 
    22.TH PKPGCOUNTER "1" "February 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NAME 
    4 pkpgcounter \- manual page for pkpgcounter 1.77 
     4pkpgcounter \- manual page for pkpgcounter 1.78 
    55.SH DESCRIPTION 
    6 pkpgcounter v1.77 (c) 2003, 2004, 2005, 2006 Jerome Alet 
     6pkpgcounter v1.78 (c) 2003, 2004, 2005, 2006 Jerome Alet 
    77.PP 
    88pkpgcounter is a generic Page Description Language parser. 
  • pkpgcounter/trunk/NEWS

    r318 r321  
    2222pkpgcounter News : 
    2323 
     24  * 1.78 : 
     25   
     26    - Launches gs less often when printing is done from Acrobat 
     27      Reader. 
     28     
    2429  * 1.77 :  
    2530   
  • pkpgcounter/trunk/pkpgpdls/postscript.py

    r314 r321  
    8686        notrust = 0 
    8787        prescribe = 0 # Kyocera's Prescribe commands 
     88        acrobatmarker = 0 
    8889        for line in self.infile.xreadlines() :  
    89             if (not prescribe) and line.startswith(r"%%BeginResource: procset pdf") : 
     90            if (not prescribe) and line.startswith(r"%%BeginResource: procset pdf") \ 
     91               and not acrobatmarker : 
    9092                notrust = 1 # Let this stuff be managed by GhostScript, but we still extract number of copies 
     93            elif line.startswith(r"%ADOPrintSettings: L3") : 
     94                acrobatmarker = 1 
    9195            elif line.startswith("!R!") : 
    9296                prescribe = 1 
  • pkpgcounter/trunk/pkpgpdls/version.py

    r318 r321  
    2020# 
    2121 
    22 __version__ = "1.77" 
     22__version__ = "1.78" 
    2323 
    2424__doc__ = """pkpgcounter : a generic Page Description Languages parser."""