Show
Ignore:
Timestamp:
10/06/08 00:22:07 (16 years ago)
Author:
jerome
Message:

Removed spaces at EOL.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/bin/pkpgcounter

    r564 r3436  
    11#! /usr/bin/env python 
    2 # -*- coding: UTF-8 -*- 
     2# -*- coding: utf-8 -*- 
    33# 
    44# pkpgcounter : a generic Page Description Language parser 
     
    99# the Free Software Foundation, either version 3 of the License, or 
    1010# (at your option) any later version. 
    11 #  
     11# 
    1212# This program is distributed in the hope that it will be useful, 
    1313# but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1414# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1515# GNU General Public License for more details. 
    16 #  
     16# 
    1717# You should have received a copy of the GNU General Public License 
    1818# along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     
    7171  -v | --version        Prints pkpgcounter's version number then exits. 
    7272  -h | --help           Prints this message then exits. 
    73    
    74   -d | --debug          Activate debug mode.  
    75    
     73 
     74  -d | --debug          Activate debug mode. 
     75 
    7676  -cCOLORSPACE, --colorspace=COLORSPACE 
    7777                        Activate the computation of ink usage, and defines the 
    7878                        colorspace to use. Supported values are 'BW' (Black), 
    7979                        'RGB', 'CMYK', 'CMY', and 'GC' (Grayscale vs Color). 
    80                         'GC' is useful if you only need to differentiate  
     80                        'GC' is useful if you only need to differentiate 
    8181                        grayscale pages from coloured pages but don't care 
    8282                        about ink usage per se. 
    83                          
     83 
    8484  -rRESOLUTION, --resolution=RESOLUTION 
    8585                        The resolution in DPI to use when checking ink usage. 
    8686                        Lower resolution is faster but less accurate. Default 
    8787                        is 72 dpi. 
    88    
    89 examples :                               
     88 
     89examples : 
    9090 
    9191  $ pkpgcounter file1.ps file2.escp2 file3.pclxl <file4.pcl345 
    92    
     92 
    9393  Will launch pkpgcounter and will output the total number of pages 
    9494  needed to print all the documents specified. 
    95    
     95 
    9696  $ pkpgcounter --colorspace bw --resolution 150 file1.ps 
    97    
     97 
    9898  Will output the percent of black ink needed on each page of 
    9999  the file1.ps file rendered at 150 dpi. 
    100    
    101 %(__gplblurb__)s   
     100 
     101%(__gplblurb__)s 
    102102 
    103103Please e-mail bugs to: %(__authoremail__)s""" 
    104104 
    105 if __name__ == "__main__" :  
     105if __name__ == "__main__" : 
    106106    if (len(sys.argv) >= 2) and (sys.argv[1] in ("-h", "--help")) : 
    107107        print __doc__ % globals() 
    108     else :     
     108    else : 
    109109        analyzer.main() 
    110110